Open madskristensen opened 8 years ago
Consider this markup:
<input type="checkbox" name="check" value="first" /> <input type="checkbox" name="check" value="second" />
The name attribute is the same for both elements. This is typically used for radio button groups, but can be used for checkboxes too. However, the mechanism for setting the right value for checkboxes is different than for radio button groups.
name
Consider this markup:
The
name
attribute is the same for both elements. This is typically used for radio button groups, but can be used for checkboxes too. However, the mechanism for setting the right value for checkboxes is different than for radio button groups.