A switch is a boolean type data to represent the true or false.
It has one of two possible values which is intended to represent the two truth values of logic. It has two display styles: Switch and Tick Box.
Label & Binding
The label will display as the title of this field. You can define the name for this field. You also can switch off "Display Title" to hide the label on the form (not applicable for Applications).
Binding is only applicable for form builder. A boolean field can be reset to bind with any other boolean controls on this form.
Define the appearance of this field to change the styles.
Placeholder is a text input that provides a short prompt that describes the expected value of user input. The prompt is displayed in the field before you enter a value, and disappears when you begin typing.
You may define its Display Style for this field/variable before moving-forward. According to the set of style:
Switch - Users can toggle a switch on or off to specify.
Tick Box - Users can check or uncheck to specify.
Please note: The variable value of Switch field will be either of "true" or "false".
Dynamic Display Rules
When you set a dynamic display rule for this field, It behaves differently based on specific conditions and rules.
You can enable/disable comments on this field after the form is submitted. There are two options to trigger comments entering: On Click and Mouse Hover.
For a bound control, the comment key will be auto-bind with this control/field.
Validation will verify that the data users enter in this form meets the standards you specify before the form can be submitted.
Set this field as read-only to create variable form pages of your workflow(or application versions) . All bound controls (fields) can be made read-only, with the exception of fields that are already read-only by default. E.g. Calculation.
Required field will make sure the user provides a response. When a field is required, an error message will display under this field and at right top of the form. The form cannot be submitted until a value has been added to the field.
Required fields are indicated by a red asterisk (*) next to the label. By default, fields are never required.
Note: Only a required field in visible of this form will trigger the validation action.
You can set a custom error message that will display under your field when specified conditions become true. It will allow you to add any number of rules for validating your field.
Learn more about the Custom Validation.
Event Rules (only applicable for Forms)
Event rules allow you to set actions that should be taken on events that meet your designated rule criteria. You can create event rules to execute any number of actions based on this field.
Default values can be used to automatically populate the field’s value for users. The user can then choose to change the default value. The default value can always be the same value or can change based on certain conditions such as a Event Rule of another field on the form.
There are certain fields that you never want to contain duplicate values. You can easily prevent a field to enter a duplicate values by making it unique.