What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.

At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.

We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.

  • Profile Image

    How to restrict date to three months from current date in date picker ?

    Asked by testsite on July 23, 2014 at 01:21 AM



    In the form calendar ( date picker) , can we setup conditions to restrict date to three months from current date.


    Please help 

  • Profile Image
    JotForm Support

    Answered by jonathan on July 23, 2014 at 04:57 AM


    You cannot make the restriction visible in the DateTime field itself

    BUT, Yes -- you can use conditional statement to apply restriction on particular dates.

    You can use condition rules to prevent submission(or show/hide fields) of the form if it the selected date is true to the restriction. 

    Here is an example form you can test http://www.jotform.me/form/42031913178450

    In my test form, you cannot submit the form if the selected date is higher than 10-23-2014 (3 months from today)

    This the condition statement I used


    Hope this help. Inform us if you need further assistance.




  • Profile Image

    Answered by testsite on July 23, 2014 at 06:07 AM


    Thanks heaps Jonathan .. It worked :)

  • Profile Image

    Answered by Deanna770 on September 15, 2014 at 08:48 PM

    Hello, I can't seem to complete the conditions for the date picker. It allows me to set the rules, but doesn't give me any options for setting the mask. The only thing available in the "set mask" drop down is "please select." Please see below. I want to make sure no one can pick a date that is either or both of the following:

    1) Picking a date that is 'today +1' (we need at least 1 day's notice)

    2) Picking a date including any Tues, Thurs, Sat or Sun

    Am I doing something wrong? 

    Thanks in advance,


  • Profile Image
    JotForm Support

    Answered by ashwin_d on September 15, 2014 at 10:52 PM

    Hello Deanna770,

    As we cannot answer multiple question in one thread, I have moved your question to new thread and you will be answered here:  http://www.jotform.com/answers/429314 

    Thank you!