Checkbox field
A Checkbox field is a set of boxes. Visitors can tick any number of them.
<p>What do you need?</p>
[[services]]
Settings
| Setting | What it does |
|---|---|
| Options (value : Label) | One box per line, written as in the Select field. |
| Default value | The boxes ticked when the page opens, values separated by commas. |
| Fill from | Where the starting value comes from. See Fields. |
| Wrap each item with a label element | On: each box sits inside its <label>. Off: the <label> comes next to the box. Both can be clicked; pick what your CSS expects. |
| Label before the box | Puts each option’s text before its box instead of after it. |
| Only one at a time | Ticking a box clears the others, as with radio buttons, but visitors can still clear them all. |
| Required | Visitors must tick at least one box. |
In the mail
[services] prints the labels of the boxes ticked, separated by commas. [_raw_services] prints their values.
Example
A single box such as “Send me a copy” is a Checkbox with one option. For “I agree to the terms”, use the Acceptance field: it can block sending until the box is ticked.
Message
| Message | Default text |
|---|---|
| Option not on the list | Please pick one of the options. |
Change it for one form in its Messages tab, or for every form in Settings → Messages.
Was this article helpful?
Thanks for your feedback!