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 allow dates for only last 20 days?

    Asked by CHAD  on July 10, 2017 at 11:16 PM

    Hello,


    I'm building a form and I need to disable date ranges. I need people only to select dates 20 days ago. For example if someone is submitting a form on July 30 he can not choose July 30 on the form, instead he can only choose July 10 and backwards. How can I do this? Thanks!

  • Profile Image
    JotForm Support

    Answered by Nik_C on July 11, 2017 at 03:18 AM

    Here is how you can do that:

    1) Add date field:

    2) Go to its properties and then limits:

    Disable future dates there like in the above image.

    3) Scroll a bit down and set Disable date range:

    Set any date long in the past, I set 1990 and the range will go until 20 days ago. So dates will be disabled from set date until today minus 20.

    Here is my test form so you can check: https://form.jotformpro.com/71911172959968

    Let us know if you have any further questions.

    Thank you!