Do checkbox inputs only post data if they’re checked?

Is it standard behaviour for browsers to only send the checkbox input value data if it is checked upon form submission?

And if no value data is supplied, is the default value always “on”?

Assuming the above is correct, is this consistent behaviour across all browsers?

12 Answers
12

Leave a Comment