Super Sale Limited Time 50% OFF for All-Access Plans
Save 50% Now

Radios and checboxes "checked" value


I am implementing this same theme (DEMO5) into one of my projects and i am seeing the checked value of custom check boxes and radio buttons is not being changed whilke making selection. Colors etc do, also switch "switches" but the checked value is untouched.

I see exactly the same behavior here on this form while writing this request on the "Public" switch.

Is this normal? Should i be dealing with this myself?
Maybe i don't entirely understand how the checked value should work

Thanks


Text formatting options
Submit
Click any option to insert into your comment. Select text first to wrap it.
  • **text** to make things bold
  • *text* to emphasize
  • ### Heading to make headings
  • [link text](url) for links
  • ![alt text](image-url) to paste in an image
  • - item to make a list
  • 1. item to make an ordered list
  • > quote to quote somebody
  • `code` for single line of code
  • ```js ... ``` for JS code block
  • ```html ... ``` for HTML code block
  • ```scss ... ``` for SCSS code block
  • ```php ... ``` for PHP code block
  • --- for a horizontal rule
  • happy  :)
  • shocked  :|
  • sad  :(

Replies (3)


Hi,

The custom check states are actually changed for the DOM state and you can verify it with Javascript:


alert(document.getElementById("my_checkbox").checked);


The state change may not be shown in the browser code inspector but in the DOM it's changed as per user checks the actual checkbox input through label/external element toggle.

Regards



Thank you. I noticed what you said, but still didn't work as expected. After few hours of investigation i finally figured out i had a backend method overriding the value. Bummer happy

Thanks!



Great! Glad to hear that you resolved it happy


Text formatting options
Submit
Click any option to insert into your comment. Select text first to wrap it.
  • **text** to make things bold
  • *text* to emphasize
  • ### Heading to make headings
  • [link text](url) for links
  • ![alt text](image-url) to paste in an image
  • - item to make a list
  • 1. item to make an ordered list
  • > quote to quote somebody
  • `code` for single line of code
  • ```js ... ``` for JS code block
  • ```html ... ``` for HTML code block
  • ```scss ... ``` for SCSS code block
  • ```php ... ``` for PHP code block
  • --- for a horizontal rule
  • happy  :)
  • shocked  :|
  • sad  :(
Text formatting options
Submit
Click any option to insert into your comment. Select text first to wrap it.
  • **text** to make things bold
  • *text* to emphasize
  • ### Heading to make headings
  • [link text](url) for links
  • ![alt text](image-url) to paste in an image
  • - item to make a list
  • 1. item to make an ordered list
  • > quote to quote somebody
  • `code` for single line of code
  • ```js ... ``` for JS code block
  • ```html ... ``` for HTML code block
  • ```scss ... ``` for SCSS code block
  • ```php ... ``` for PHP code block
  • --- for a horizontal rule
  • happy  :)
  • shocked  :|
  • sad  :(