How can I limit the choices on the calendar?

  • Profile Image
    Asked on August 01, 2012 at 12:27 PM

    Our students are supposed to book their appointments at least one week (7 days) in advance.  Is there a way that when they click on the calendar that it only shows days seven days out or later?  They can't seem to figure it out on their own:)

  • Profile Image
    Answered on August 01, 2012 at 09:40 PM


    Unfortunately, we do not have such feature for limiting days on calendars.

    It may be possible by downloading your form's full source code and apply some custom scripts to aim such function but I guess this is a bit arduous. However, I'll try to find a way for this but I can't promise anything. Just want to inform you ahead that this is already outside of JotForm.


  • Profile Image
    Answered on August 03, 2012 at 01:46 AM


    I have downloaded your form source code and implemented some calendar functions. Can you please check the calendar of this form if this is what you are trying to achieved?

    Here are the changes I've made:

    Disable previous dates.

    Disable current (todays) date.

    Disable one week, 7 days in advance.

    Added tooltips for disabled dates.

    I've also matched the calendar theme to your form theme. :)

    Please let me know if this is what you are looking for so I can provide to you the form files.


  • Profile Image
    Answered on August 15, 2012 at 02:57 PM


    Your response failed to display in this forum thread. If it is of utmost importance, kindly repost your message using this link instead of replying to this email message.

  • Profile Image
    Answered on August 20, 2012 at 05:37 PM

    I really appreciate the work you did to update our form.  I would like to be able to make changes to the form but if I do I lose the calendar limitations that you put on it.  Could you please provide me with the form files that you mentioned in your previous email so that I can make some changes to the form without losing all of your hard work?

    Also, we have discovered that students are still able to bypass the one week block by typing in the dates they want...they are only blocked if they click on the calendar.



  • Profile Image
    Answered on August 20, 2012 at 06:44 PM


    Here's the form files:

    I made the date fields "readonly" so they can't be manually filled except when you use the pop-up calendar. 

    Let us know if you have any further questions. Thank you!

  • Profile Image
    Answered on October 12, 2012 at 02:43 PM

    I am looking for the same feature so the user can only select a date at least 20 days in advance of the current date.

  • Profile Image
    Answered on July 01, 2014 at 11:01 AM

    I know this is two years old, but can idarktech do the same for me as he did for dvcassessment?