When building a form, you may want to prevent patients from skipping certain questions, or ensure that the information they provide meets a certain criteria (e.g. an email address must contain the @ sign).
You can easily make a question mandatory by editing the form in the eForm Editor.
- Select the question that you want to set as a required field.
- Navigate to the "Scripting and More" tab.
- From the "Field Validation" drop-down menu, select the appropriate option. In the case of a required field, select "non-empty (mandatory field)".
- Save your form.
- Now, if a patient attempts to complete the form and fails to answer the required question, the required question will be highlighted in red and they will not be allowed to move to the next page or finish the form.