Validation Rules
Validation rules allow you to define specific criteria that must be met for a given question.
- About validation rules
With a validation rule, you define the specific criteria that must be met for the answer to a question to be considered correct or acceptable. Validation rules can be configured as simple validations, which throw an error message, to raise queries, or both. - Available validation rules by question type
You can create a validation rule for any type of question. Do this when you want to ensure that the answers provided meet specific requirements. The options available for validation rules differ for each question type. - Define a validation rule for text questions
For text questions, you can only create validation rules that restrict the entry of non-alphabetic characters. - Define a validation rule for Date/Time questions
Date/Time questions offer multiple validation rules that allow site users to only enter specific dates and times. - Define a validation rule for number questions
Number questions offer multiple validation rules to restrict site users to only enter specific numeric characters. - Define a validation rule for age questions
Age questions offer multiple validation rules to restrict answers and only accept specific values. The answer to an age-related question involves a number (the exact calculated age) and a date (the date of birth). For this reason you can add and combine number and date validations for an age question. - Define a validation rule for multi-choice questions
For drop-down questions or questions with checkboxes, you can specify the number of options that users must select, or require users to choose a specific option. - Define a validation rule for questions with radio buttons
A question with radio buttons requires only one option as an answer. By adding a validation rule, you can require site users to choose a specific option. This can be useful to set specific screening requirements or for transferring subjects to a rollover study.
Parent topic: Predefined rules