Toggle menu

Making Lists and Checkboxes Required

Unlike most other fields the list box and checkbox group fields don't have a "required" property. That's because these fields can have more than one value.

For example, a drop-down list or a radio group let you pick one option, a text field let's you enter a string of text. But you might want a user to check all of the boxes, or pick at least two options from the list.

Minimum and Maximum Values

Rather than a required property, the list box and checkbox group fields have minimum and maximum properties that control the number of options that must be selected for the field to pass validation:

Min Max Properties

Examples

Share this page

Facebook icon Twitter icon email icon

Print

print icon