How to disable reservation after certain time everyday?

  • Profile Image
    ipunt
    Asked on July 13, 2015 at 07:31 PM

    I have a reservation form and all works fine.

    But

    I want to disable bookings for the SAME DAY from 18:00 hours onward.

    Guess I have to get my conditions right:

     

    If LOCAL TIME => 18:00 hours

    then disable TODAY

    Any suggestions?

     

    Ivo

     

  • Profile Image
    ashwin_d
    Answered on July 14, 2015 at 01:28 AM

    Hello lvo,

    Yes it is possible to achieve your requirement by adding a "Time" field in your form. We can add condition to check if the date is today and the time is after 17:50 to display the error message to user. Please check the screenshot below:

    Please take a look at the following cloned form and see if this works as expected:  http://form.jotformpro.com/form/51941096528966? Feel free to clone this form for a closer look. The following guide should help you in form cloning:  https://www.jotform.com/help/42-How-to-Clone-an-Existing-Form-from-a-URL 

    Thank you!