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

mceclip3.png

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). 

mceclip2.png

Binding is only applicable for form builder. A boolean field can be reset to bind with any other boolean controls on this form. 

<Return to top>

Appearance

Define the appearance of this field to change the styles. 

  • Placeholder

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.

  • Display Styles

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.  

mceclip0.png

Please note:  The variable value of Switch field will be either of "true" or "false".

mceclip3.png

  • Dynamic Display Rules

When you set a dynamic display rule for this field, It behaves differently based on specific conditions and rules.  

Learn how to create dynamic display rules for a field

  • Allow Comment

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.

<Return to top>

Validation

Validation will verify that the data users enter in this form meets the standards you specify before the form can be submitted.

  • Readonly

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

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.

  • Custom Validation

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. 

Learn more about the Event Rules

  • Default Value

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. 

  • Unique Value

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. 

 

<Return to top>

Was this article helpful?
0 out of 0 found this helpful

Comments

0 comments

Please sign in to leave a comment.