Types of validation rules
Create a validation rule for any type of question in a form when you want to verify that answers to a specific question meet the study requirements.
Validation rules are useful when you want to block site users from entering unaccepted values to answer certain questions. Depending on the type of question you are working with, different options for a validation rule are available.
- If you select AND, the value must be valid for every validation rule.
- If you select OR, the value must be valid for exactly one validation rule.
These operators cannot be combined if more than two validation rules are configured. For example, if you have three validation rules on a question, you can select AND for every rule instance or OR for every rule instance, but you cannot select AND followed by OR.
Question type | Validation rules | Use cases |
---|---|---|
Text question |
|
|
Date/Time questions |
|
|
Number and Age questions |
|
Age questions
Number questions
|
Drop-down questions and questions with checkboxes |
|
|
Questions with radio buttons |
|
|
For further details about how to set validation rules for a specific question type, browse the sections below:
Parent topic: Predefined rules