Validation rules can be attached to individual questions by the study designer in the form of conditions. If you enter a value that satisfies the condition, a validation message may be displayed. You might see two types of validation; Rejection and Warning.
An explanation of the rejection is present within the popup and should help you to re-enter the correct data. Your only option is to click OK and enter a different value. Your original entry will automatically be removed.
An explanation of the warning is present within the popup and should help you to either re-enter the correct data or overrule this warning.
You have 3 options:
If you have entered an incorrect value, click OK and enter a different value.
If you wish to ignore the warning, click OK and leave your original entry in place. The Warning status will be assigned to the question.
If there is a valid reason for entering the value, enter your reason in the Overrule text box (using up to 255 characters) or select a predefined reason from the drop down list and click OK. This will leave your original entry in place and assign the OK Warning status to the question.
If multiple validations have fired for a question, you will see them all listed but will only be able to respond to the one at the top of the list.
To overrule a warning, you need both the 'Change data' and 'Overrule warnings' permissions
You can view any validation rules that have been attached to a question:
On an eForm, right click the question field or status icon (or press F10) and select View Question Information. The Question Information window is displayed.
Within the Properties tab, click in the Validations row then click the Collection button. See example
The validation rules associated with the question are listed.
For each rule, you will see the type of validation, the condition itself and the message that will be displayed if the condition is not met.
If the question has the status of Warning, OK Warning or Inform, you will be able to right click it and select View Warning or View Inform Message from the popup menu to view the validation message attached to the condition that has been met. Before the eForm is saved, it is possible to view all the fired validations but after the eForm has been saved, only the first validation will be shown.
Validation takes place automatically every time an eForm is opened by a user with the Change Data permission and every time that it is saved. It is possible to run revalidation on all eForms for specific subjects without opening each eForm.