Support

Need assistance using edc2go? We are here to help

Validation rules: value check

"value check" is a validation rule that can be set for the following elements:
  •  single line field 
  •  multiple choice and dropdown list
  •  checkboxes
  •  dates
With this validation rule you can check for the exact value of entered data and raise a query with custom message.
You can define a query to be triggered for a data entry that is either equal to or different from:
  • a specific value
  • a linked question

Front end

If you enter a value that is equal to (or different from, depending on your validation rule settings) a pre-defined value, edc2go will display a message upon data entry:



at this point, you can either:
  1. Save the form with an open query.
  2. Cancel the save action and go back to the form to correct the value.

Design: value check

  • Make sure that your CRF has status 'Design'.
  • Go to your design area via My Studies ➞ CRF ➞ Edit CRF.
  • Go to the applicable visit and form and click the '+ Add validation rule' button on the right hand side of the applicable question:
A validation rules window will open. On the left hand side of the window is the list of all available validation rules of that particular element type:
Each element type has its own set of validation rules.
To see an overview of possible validation rules per element type, check out this article.

A. Specific Value



  1. Check the box in front of the 'Value check' validation rule.
  2. Specify if a query should be triggered if the given answer is equal to or different from the specific value.
  3. Indicate the specific value. For radio-button or checkbox questions, the available list items will be displayed. For single line fields or dates, a specific value can be entered here.
  4. The query text is present by default as:"The answer is equal to (or different from) [value]". You can update this text as applicable for your question.
  5. Click the Save button.
  6. the '+Add validation rule' button is now displayed as ' ü Value check' but the button is still functional. Click this button to edit the validation rule(s) for this question.

B. value defined by a linked question


  1. Check the box in front of the 'Value check' validation rule.
  2. Specify if a query should be triggered if the given answer is equal to or different from the linked question value.
  3. Click the button in front of 'Linked question'  and click the applicable 'Select' button.
  4. The 'Linked question' window will open in which the applicable visit, form and question must be specified via drop down lists that contain your CRF structure.
  5. Within the dropdown lists, there is a visual distinction between visits, forms and questions that can be selected (normal text) and those that can't (italic text). Note that the only questions that can be selected are elements that have the same type as the one you are defining the validation rule for. Also questions from repetitive forms or visits cannot be selected.
  6. Select the linked question that you wish to use to compare (equal or different from) data entry with and click 'ü Ok'.
    The 'Select' button has now turned into a green coloured 'Linked' button:
  7. The query text for this example is present by default as: "The answer is equal to (or different from) [value]". 
  8. It is possible to customize this text to your own preference.
  9. You can use labels [value] and/or [text] to add the value or question text of the linked question.
  10. Click the 'Save' button.
  11. the '+Add validation rule' button is now displayed as ü Value check' but the button is still functional. Click this button to edit the validation rule(s) for this question.
  12. The linked question is now also visible in the parent form. It has an orange coloured 'Linked question' label.

Feedback and Knowledge Base