Need assistance using edc2go? We are here to help

Validation rules: required field

When building a CRF in edc2go, you can decide for each question if you need it to be 'optional' (by default) or 'required'.

Front end

If you specify a question as 'required', edc2go will trigger a query upon form save if this question was not answered.
Required questions are indicated with a red colored asterisk * on the right hand side of the question.

at this point, you can either:
  1. Save the form with open query(ies).
  2. Cancel the save action and go back to the form to complete the required question(s).

Design: Set-up required field

  • Make sure that your CRF has status 'Design'.
  • Go to your design area via My Studies --> 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.

  1. Check the box in front of the 'Required field' validation rule.
  2. The query text is present by default as:"This is a required field, please enter data". You can update this text as applicable for your question.
  3. Click the Save button.
  4. The question now has the red asterisk to indicate the required status.
  5. the '+Add validation rule' button is now displayed as 'Required' but the button is still functional. Click this button to edit the validation rule(s) for this question.

Feedback and Knowledge Base