CHECKBOX are small square options. All options the visitor checks will remain checked unless they click on it again to uncheck it. Unlike the Radio buttons, more than one Checkbox can be active at a time.
Note : Notice the NAME value is different for each option in this group. This allows more than one answer to be chosen. The outcome will show all of the "checked" items as true or yes.
Please choose an option:<br> <input type="checkbox" name="special 1" checked> Option 1<br> <input type="checkbox" name="special 2" > Option 2<br> <input type="checkbox" name="special 3" > Option 3<br> <input type="checkbox" name="special 4" > Option 4 |
input | readies the FORM for visitor input. |
type="checkbox" | creates the checkbox square. |
name="sample" | assigns an individual name to each option. All checked names will be sent in the feedback. |
checked | creates a default choice. If this property is left out, all options will be blank until the visitor checks one of them. |
Note : Notice the NAME value is different for each option in this group. This allows more than one answer to be chosen. The outcome will show all of the "checked" items as true or yes.
