How to Use the Date Limits Option

December 16, 2023

The Date Picker element allows your form fillers to input dates on your forms. If you need to implement date limits on your form — for example, you only want to allow your users to enter dates that fall on a weekend or specific periods — you can set up your Date Picker’s advanced options.

To implement date limits

  1. Add a Date Picker element to your form.
  2. Select the gear icon to open properties.
  3. In the properties panel, go to Limits at the top.
Steps to access the Date Picker's Limits option in Jotform Form Builder

Here’s the complete list of options that you can use on disabling dates:

The Date Picker's limits options in Jotform Form Builder
  • Age Verification — Prevents form fillers under a certain age from submitting your form.
  • Past & Future — Enable Past or Future to allow past or future dates respectively.
  • Days of the week — Choose the days of the week to allow on your form. For example, uncheck Saturday and Sunday to only accept weekdays.
  • Start & End Date — Limits the dates within your specified range.
  • Disable Custom Dates — Disables specific dates. The supported date formats are YYYY-MM-DDMM-DD, or DD. For example
    • 2017-07-30 disables July 30, 2017.
    • 07-01 disables July 1st of each year.
    • 15 disables the 15th of each month. 
  • Disable Date Ranges — Similar to Start & End Date, the Disable Date Ranges option allows you to set multiple date ranges to disable. For example
    • 1990-01-01>1999-12-31 disables the 90s.
    • 0000-01-01>1999-12-31 disables dates before the year 2000.

Dynamic Date Selections

You can achieve dynamic date selections using the Start & End Date limit with

today+{n}

where {n} is the number of days to be added to today.

Suppose you’re working on a booking form and would like to limit the booking dates to at least one week after submission and also limit the booking window to just one week. For this to happen, you need to set the Start Date to “today+7” (a week after) and the End Date to “today+13” (a window of just one week).

Dynamic date selections example
Contact Support:

Our customer support team is available 24/7 and our average response time is between one to two hours.
Our team can be contacted via:

Support Forum: https://www.jotform.com/answers/

Contact Jotform Support: https://www.jotform.com/contact/

Send Comment:

Jotform Avatar
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Comments:

  • Travis Friedman - Profile picture
  • Mieke Engelbos - Profile picture
  • Mats - Profile picture
  • Villet - Profile picture
  • shrhbusinessmanager - Profile picture
  • FGC - Profile picture
  • Academy Office - Profile picture
  • ILOHRD 2020 - Profile picture
  • SHANE ROBERTS - Profile picture
  • Brett Reece - Profile picture
  • Gwenies Pastries - Profile picture
  • CALEDU - Profile picture
  • Niecey Howard - Profile picture
  • Marta Komar - Profile picture
  •  Teycira Arfaoui  - Profile picture
  • Jason Riggs - Profile picture
  • Anderson Jesus - Profile picture
  • Maria Del Risco  - Profile picture
  • Stephanie - Profile picture
  • DTLS Marcom - Profile picture
  • jif freezze - Profile picture
  • Julia Paik - Profile picture
  • Luna Huguenin - Profile picture
  • vspprint - Profile picture
  • Jim Norman - Profile picture
  • K - Profile picture
  • Michelle - Profile picture
  • Michael Gerard - Profile picture
  • hippopobabyspa - Profile picture
  • Peter Stow - Profile picture
  • Ken Getz - Profile picture