Validation Rules

Validation rules allow you to apply advanced validations that come from multiple questions. Here you can configure your own error message related to the validation.

Question Type When to use
Evaluate on question Question on which evaluation of validation rules will be triggered when the next button is clicked.
Function Here you can select the type of operation you want to apply to Left side Expression. Currently there are three functions available i.e. SUM, LENGTH & VALUE. When you choose SUM, you need to check all questions whose values will be summed up for further comparison against the right side expression.
LS Expression Here you can select one part your expression that you want to validate.
Operator Here you can define the type of operation you want to perform Left side Expression and Right Side Expression.
Evaluate By Here you can select the type of operation you want to apply to Right side Expression. You can either choose the value of a question or a static value on your right side for validation.
RS Expression Here you can select other part your expression that you want to validate
Error Text You can put your custom validation error message here. When the validation result fails, the user will see this message. As part of your validation message you can also print the evaluation result of the left hand side as well as the right hand side by using $LHS$ and $RHS$ as part of your expression.
Active Using this flag, you can activate/deactivate an existing validation expression. Please note that only active expressions are evaluated during the survey workflow.
Operator Math Symbol Description
Equal to (==) Evaluates if both LS Expression values and RS Expression values are equivalent.
Not Equal to != Evaluates if both LS Expression values and RS Expression values are not equivalent.
Greater than > Evaluates if LS Expression value is greater than RS Expression value.
Greater than or equal to >= Evaluates if LS Expression value is greater than or equal to RS Expression value.
Less than < Evaluates if LS Expression value is less than RS Expression value.
Less than or equal to <= Evaluates if LS Expression value is less than or equal to RS Expression value.

Can't find an Answer?