Validation

The first check mark next to the form widget is the validation rule. You can use this item to add a validation to your interaction page. When you add a validation rule you are prompted with the expression editor. Here you add the expression that should be validated. The validation rule overrides the ignore user input and will always be checked when leaving a node through a button exit.

Property
Description

Validation Rule

Expression that is checked for true or false when going out of the node with a button exit. This can be changed by selecting the input field or double clicking the expression in the template editor.

Style context

The color of the validation message box.

Show close button

Toggle the close (X) on or off. The close button is found on the right side of the validation message. (see image below) This option is only visible on 4.2 runtime in staging or live.

False validation for every style in the runtime as seen by a user.
Template editor
Validation expression editor. The validation passes when this expression returns true. Example only lets you go through and leave the page when the subject has a value. When subject does NOT have a value the validation message is shown.

Check the Ignore User Input information on how to prevent validation for a cancel action.

Last updated

Was this helpful?