Find out how to create Validation Rules on Free-text question types
When creating free-text questions within the ATS you can set rules against the answers that can be submitted.
These rules can be set against Single Field or Text Area questions:
By default questions do not have any validation assigned to them, this is shown in the validation field as N/A.
When selecting the drop-down menu under 'Validation', you will see a series of options that looks like this:
Date
This validation option will only allow answers to be submitted in the form of a date.
Time
This rule is used when an answer needs to be provided as a time.
Email Address
When you are asking for someone to provide an email address this validation option will make sure the answer provided is in the correct format of an email address.
Please note - This cannot verify if the email address is a genuine email address.
Min/Max Character Alpha
This restricts answers to a specific number of characters. You can specify your requirements in the 'Min' and 'Max' fields.
Min/Max Alpha-Numeric
This restricts answers to a specific number of numbers and letters. This includes special characters. Again, you can specify your requirements in the Min and Max fields.
Begins With
If you need to make sure all answers begin with a specific word or phase this can be set.
Ends With
This rule will make sure every answer ends with a specific phase/word/letter of your choice.
Custom (Regex)
This option will allow you to specify your own rule using a Regex formula.
At Tribepad we support the use of PHP Regex formulas. There are lots of tools on the internet to help you find a formula that is suited to your needs.
However, it is important that any formulas are tested before being used on any candidate-facing questionnaires to ensure they have the desired outcome.
Min/Max Alpha-Numeric No Special Characters
This restricts answers to a specific number of numbers and letters only. This excludes ALL special characters. Again, you can specify your requirements in the Min and Max fields.
.
Min/Max Word Count
If you want to limit candidate answers to a word count you can specify your requirements here.