Skip to main content

Apply validation to a field in a form template

Add validation to a field in a form template to define whether an answer or choice entered meets a predetermined requirement.

Liam Smith avatar
Written by Liam Smith
Updated over 2 weeks ago

Validation ensures that answers or choices entered into a form field meet predetermined requirements. These criteria are specified within the field on the form template.

If data entered does not meet validation requirements during completion, the form can be withdrawn if the workflow stage owner is the assignee, or rejected if the owner is anyone else. Once withdrawn or rejected, the form is marked as failed and will not proceed further through the workflow.

During completion, fields that meet validation requirements display a green tick, while fields that fail validation or remain incomplete show a red exclamation mark.

To learn how to apply validation to a field in a form template, watch the video or follow the steps below.

  1. Switch to admin view.

  2. Click Tools, then select Template Hub.

  3. Click Form Templates, then search for and select the relevant form template.

  4. Click the Layout tab.

  5. Click the relevant field.

  6. Select validation requirements.

  7. Click the green tick to apply changes.


Field types supporting validation

Not all field types allow validation. The below table lists which field types allow for validation and how it can be used.

Field

Details

Date Input

Use the drop-down menus to set the number of years and months the date entered must fall within.

Selection using a list/radio buttons/checkboxes

Select which choices count as valid and which are invalid.

  1. Click Edit Choices.

  2. Toggle on or off Valid/Invalid. At least one choice must be set to valid.

  3. Click Confirm.

User data

The following personal custom field types can use validation.

  • Date

  • Selection (Single - drop-down list)

  • Yes/No

Follow the steps for Date Input or Selection using a list/radio buttons/checkboxes above to apply validation.

CPD status

The user must meet the CPD requirements for the applied scheme in the period selected in the Option dropdown menu.

Click on the Options drop-down to select one of the below.

  • Current Period

  • Last Completed Period

  • Last 12 Months.

Mandatory Training

The user must have completed all mandatory training assigned to the user for the category chosen in the mandatory training category drop-down menu within the specified date range.

Click Range to select the number of months.

Did this answer your question?