How to Use the Date Limits Option

Last Update: May 7, 2017

Would you like to set limits on your Date Picker field? Example, you only want to allow your users to enter dates that fall on a weekend. That is now possible with the new advance option added to the default DateTime field.

Add the Date Picker field to your form then click the gear icon:

In the Date Picker Properties, go to the Limits tab.

And here's the list of options that you can use on disabling dates:

1. Past & Future 

Simply check the option “Past” if you want to allow users to select past dates from the current one of the user, same goes with the option “Future”, check it if you want to allow future dates to be selected.

2. Days of the week 

You can uncheck which day of the week you don’t want your users to select in the date field. Let’s say you only want your users to select dates on weekdays, you can uncheck Saturday and Sunday.

3. Start & End Date 

Disable dates within the range you set up.

4. Disable Custom Dates 

Here you can disable specific dates. Example of this:

2015-04-21 - one specific date, disable “21st April 2015”.

04-20 – disable this specific date every year, every 20th of April of each year.

19 –disable this specific date of the month. In this case, every  19th of the month of the current year. 

5. Disable Date Ranges 

This is similar to the “Start & End Date”, but this allows you to set multiple date ranges to disable. This is also a good way to set invalid dates. Example, I would like to force users not to enter invalid years like “192”, “1900” or “1720”. What I did is set the date range like this: “0000-01-01>1960-01-01”. 

You can also set Dynamic Date Selections. Similar to a regular expression, an example shown in the screenshot is today+1 which would equate tomorrow or the next day based on the current date of the user.

Questions? Please let us know below.


swamprabbitcafe (May 27, 2015 at 09:21 AM)

Thank you for this improvement. I would like to be able to limit date selection to "today+6" ... in other words, users can't select a date until it is 6 days from the current day.
I can do this in the form validation, but I can't seem to do it in the datetime limit functionality.

View Answer

samanthacrawford (July 15, 2015 at 09:27 AM)

Hi, I have been trying to restrict my form so that only weekdays can be selected, in addition to dates which are more than 2 weeks in the future. Unfortunately, neither of these seem to work. Is this a global issue or am I the only one experiencing this issue?

View Answer

jewelryislove (August 08, 2015 at 11:35 AM)

Hi, I wanted to restrict my form so that only the next 7 days can be chosen and all future dates after that disabled. Is this possible?

View Answer

Catteralls (August 10, 2015 at 02:57 PM)

Hi, if i have 2 fields ('Departure Date' and Return Date), is there a way of limiting it so that only dates on the same date or after can be selected in Return Dates? So you'd effectively be setting a disable dates before 'Departure Date'?

View Answer

cantinacaprai (August 23, 2015 at 11:57 AM)

hi, from yesterday my Disable Date Ranges is not working for me.

i use this code "today>today+1" to remove the tomorrow selection.

it was fine until yestarday

View Answer

pixelauthor (December 09, 2015 at 02:35 PM)

I'd like to be able to disable every OTHER Thursday from a start date. I know I can compile a list of those dates manually, but is there an easier way?

View Answer

varshavan (January 18, 2016 at 04:02 AM)

Hi, I have been trying to restrict booked dates on my form so that only available dates can be selected, Unfortunately, neither of limit dates option on date picker property seems to work. Is there a global issue? its not working on preview also. I am using Chrom browser.

View Answer

SVDCForms (July 20, 2016 at 09:03 PM)

Just to be sure, if I use the following expression:
I will be limiting date entry to at least 21 years ago, correct? I'm trying to ensure that applicants are at least 21 years old.

lnn (August 09, 2016 at 11:11 AM)

My disable date are not working. For example, I would disable today+9>today. How can i do that?

View Answer

aramosacevedo (October 07, 2016 at 12:52 PM)

i want to limit dates between today and 1999 what is the formula for this

View Answer

lvacademy (November 03, 2016 at 05:25 PM)

Is it possible to limit to weekdays only? I disabled weekends, but I need the form to only allow them to choose a date that is 3 days from today. This works out great, except if they choose a Thursday, it lets them choose Monday. I'm thrilled to have this as an option so thanks for that!

View Answer

media09 (December 06, 2016 at 03:10 PM)

Is there any way to set-up a simple date range in one field? For example:

View Answer

klausdyba (February 03, 2017 at 04:52 AM)

Is there a way to do this for time? I want to reduce the times which are able to select. not 0-24 but for example 8-12 only for start time

View Answer

PDQ_Printing (March 02, 2017 at 02:32 PM)

I need the date picker only to allow dates that are 3 business days in the future. As it is now, if someone submits an order on a Friday, the DatePicker allows them to choose Monday, when it should be Wednesday. I need the DatePicker to skip over the weekend when counting 3 days. Is this possible?

View Answer

sandiseni (April 02, 2017 at 01:14 PM)

Hello, is it possible to add a function where I can set a limit of bookings per date. For example maybe I only wanna take ten bookings per date nothing more

View Answer

JMCommunication (April 22, 2017 at 01:31 PM)

I used Disable Date Ranges "today-19" but it doesnt work

View Answer

aorner (May 15, 2017 at 02:24 PM)

My data selector limits to only Saturdays, aka "Week Ending Date". How can I limit to the previous 4 'week ending dates' and future week ending dates? For example, if today is 5/15/17, I would expect possible data selections to be 4/22/17, 4/29/17, 5/6/17, 5/13/17, and all future week ending dates (5/20/17, 5/27/17, etc). In this example, user would not be able to select 4/15/17, 4/8/17, and prior.

View Answer

wsrhodes (May 21, 2017 at 11:32 AM)

Start & end date doesn't work. I put in 1/1/1985 - 12/31/2006. When I use the form ANY date I enter is accepted. Why??

View Answer

knuivert (June 21, 2017 at 08:55 AM)


In the settings you can disable the past dates, but is it possible to disable the present day for the second user who's filling in the form today? So, user 1 that fills in the form today can choose today and send in the form. User 2 that fills in the form today can select a day starting by tomorrow. Thanks already for your answer.

View Answer

JessieJay (June 28, 2017 at 02:54 AM)

Peut-on limiter les créneaux horaires svp? Si cela est possible, comment faire?

View Answer

Send Comment