How do I configure Date Validation using a Date Picker Item?

Created by Mark Eves, Modified on Tue, 8 Nov, 2022 at 9:49 AM by Ben Hayes

Setting a year date range allows you to define the date range and parameters which can be selected by the user using the date picker. The following validation can be set:-


  1. Valid Date
  2. Date between
  3. Days from now
  4. Months from now
  5. Years from now


Key Objectives


Setting the date range


Pre-Requisites


  • Basics
  • Forms
  • Administration 

Setting the date range


In this example, the date picker will be configured to display years for up to 100 years past.


Go to Administration > Forms


Select the date item which you want to set.


Go to the validation region.


Select Years from now.



Provide a Minimum and Maximum Value. So Minimum is the value before today’s date, so to display Years up to 100 years before, set this to 100. The maximum value is the value after today’s date so it will display the years in the future. 


This also applies to the validation Types


  • Days from now
  • Months from now
  • Years from now

Further examples


Today's dateUnitsMin ValueDisplaysMax ValueDisplays
20/12/2018Years901928-182000
21/12/2018Days-2818/01/201936521/12/2019

 

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article