How to allow dates for only last 20 days?

  • Profile Image
    CHAD 
    Asked 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
    Nik_C
    Answered 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!