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 have a date limit on the form

    Asked by BackdropCity on November 27, 2016 at 05:50 PM

    is there a way to create a code so that when someone picks a date on a calendar it is not any less than 10 days from the current date? I want it to 'gray out' the options prior to 10 days before today. If not then can it display an error message if a date is picked too early?

    This is a re-post of a comment on How to Inject Custom CSS Codes

  • Profile Image
    JotForm Support

    Answered by jonathan on November 27, 2016 at 05:58 PM

    You can achieve this using the Limit Date feature of the Date Time field.

    Review the user guide here : How-to-Use-the-Date-Limits-Option


    so in your case the Disable Date Ranges is the option.

    Hope this help. Let us know if you need further assistance.