FR

Checkbox

Allows users to select one or more options from a defined list. For quick reference, see technical parameters.

Best practices

  • Use in forms only.
  • Write clear and concise questions.

Example

Parameters

html_id
HTML id of the element. Add only if needed to customize styling or needed by Javascript to perform a specific functionality.
inline
Specifies if the options should be inline
label
Label of the field. The content enclosed within the shortcode tags populates this fields.
name
HTML name of the field
options
Defines the options. Use commas to separate. When used in combination with the “single_checkbox” parameter set the “options” as the HTML value. This value will show up in the data output, not in the form itself.
required
Set to “true” to make the field mandatory.
separator
When commas are part of the content use a special character to separate the options.
single_checkbox
Use for standalone checkboxes such as affirmations. When using this parameter a “label” must also be set. The “options” should be the HTML value. This value will show up in the data output, not in the form itself.
values
Defines the values that will be displayed in the data output. Use commas to separate. If no “values” attribute is specified, the “options” will be used by default.