+ 8
Checkbox value
which difference makes the value in the input type = "checkbox"?
2 odpowiedzi
+ 6
When submitting forms "name=value" pairs are only sent for checked checkboxes.
Since names can be duplicated (unlike IDs) this can effectively yield an array/list when checking multiple checkboxes using the same name.
+ 6
By the way, in the meantime I added a live sample submit/response and went ahead and included checkboxes:
https://code.sololearn.com/wubNMMMp8mYA/?ref=app