How to restrict users from choosing a date within next 24 hours?

  • Profile Image
    djmgmt
    Asked on March 16, 2015 at 10:39 PM

    Is it possible to restrict a person from choosing a date that is not 24 hours in advance? for example todays date is 3/16/15 I would like to restrict the individual from choosing 3/17/15, only 3/18/15 and beyond would be available to choose from.

  • Profile Image
    ashwin_d
    Answered on March 17, 2015 at 01:29 AM

    Hello djmgmt,

    Unfortunately we do not have such feature. You will have to download your form's "Full Source Code" and add custom scripts to restrict the date selection.

    Please be noted that there is an another way to achieve your requirement. You can take advantage of our "Conditions" feature to check the input value and display a message to the user. Please check the screenshot below:

     

    Please take a look at the following demo form I created for you:  http://form.jotformpro.com/form/50743988660972? Feel free to clone this form for a closer look. The following guide should help you in form cloning:  http://www.jotform.com/help/42-How-to-Clone-an-Existing-Form-from-a-URL 

    Hope this helps.

    Do get back to us if you have any questions.

    Thank you!