Checkbox 'off' value

Posted by Richard JP Le Guen on Stack Overflow See other posts from Stack Overflow or by Richard JP Le Guen
Published on 2010-05-05T02:11:27Z Indexed on 2010/05/05 2:18 UTC
Read the original article Hit count: 288

Filed under:
|
|

Does anyone have a no JavaScript way to make HTML checkbox still submit a value? As in if you check it the form submission will include a value A but if it is uncheck it still contains a value B?

While I figure there isn't any way, I'm working on a site which needs to still be function when JS is off, and this would be ideal.

© Stack Overflow or respective owner

Related posts about html

Related posts about checkbox