On Application Forms and Contact Forms, when you add a date field, you can add validation to restrict the dates that a person can enter.
You can add date validation to standard form fields and custom form fields.
NOTE: When you specify a minimum date, you cannot enter a date earlier than the minimum date.
When you specify a maximum date, you cannot enter a date later than the maximum date.
1
Set Date Validations
- Navigate to Settings > Form Management > My Forms
- Click on the relevant form name.
- Locate the date field and click the Edit icon.
- You have the option to set a Minimum Date and/or a Maximum Date. The dates can be Absolute (e.g. 1st June 2024) or Relative (e.g. 3 years in the past).
- See steps 2-4 for example validations.
2
Example 1: Only accept applicants who have arrived in Australia on or after 1st June 2020
- Create a Custom Field with a name like “Date arrived in Australia”
- Add the custom field to your Application Form
- Edit your custom field:
- Check the Required box.
- Check Set Minimum Date
- In the first dropdown, select Absolute
- In the date field, select 1st June 2020.
- Click outside of the drawer to save.
NOTE: Do not set a Maximum date.
3
Example 2: Only accept applicants who have at least six months left on their visa
- Add the field Learner Visa Expiry Date to your Application Form.
- Edit the field:
- Check the Required box.
- Check Set Minimum Date
- In the first dropdown, select Relative
- In the Value field, enter 6
- In the Unit field, enter Months
- In the Timing field, select Future
- Click outside of the drawer to save.
NOTE: Do not set a Maximum date.
4
Example 3: Only accept applicants who are 16 years and older
- Add the field Learner Date of Birth to your Application Form.
- Edit the field:
- Check the Required box.
- Check Set Maximum Date
- In the first dropdown, select Relative
- In the Value field, enter 16
- In the Unit field, enter Years
- In the Timing field, select Past
- Click outside of the drawer to save.
NOTE: Do not set a Minimum date.