Dynamic control of hour for a reservation form

  • shamtor
    Asked on March 7, 2014 at 5:26 AM

    Hi, I checked and I did nto found anything that can help my request.

    I've done a restaurant reservation form and it work properly. now the main problem is that sometimes customer make a reservation on line just half hour, or 1 hour, before coming to restaurant and thi si snot possible because after, for example, 7.00 pm no one check the reservation emails.

    How I can do a date, hour, control over this form. For example I don't want that some one can do a reservation after 6pm for the same date. I check your condition wizard and I found today+1, it will work with hours too? how?

     

    Thanks in advacne for your help.

  • jonathan
    Replied on March 7, 2014 at 8:04 AM

    Hi,

    Please try doing it like this.

    1. Add Time field on the form (found in Quick Tools)

    2. Add Page break field (found in Survey Tools)

    3. Setup the Condition like in the image below

    Dynamic control of hour for a reservation form Image 1 Screenshot 20

     

    What will happen here is, if the current Time is already after the condition, the submit button will be hidden. So, the form will never be submitted.

    Here is a test form http://form.jotform.me/form/40653553220446? you can try.

    You can clone it if you like to check for more details.

    Hope this help. Inform us if you need further assistance.

    Thanks.

  • shamtor
    Replied on March 7, 2014 at 8:22 AM

    Thank you, interesting way but... there is a but. In this way will block all the reservations even the ones for the next day...

    Is not true that I cannot make reservation after, here for example 20.52. I cannot make a reservation in the same day after , for example 18.00- ( or less than 2 hours before the lunch or dinner)

     

    I hope I'm clear.

    In any case thanks for your effort.

  • jonathan
    Replied on March 7, 2014 at 8:42 AM

    Hi,

    You were right. I missed to consider the Time condition to re-enable the form.

    What I think you can try to fix it is by assigning only a specified time range when it should be disable.

    You can try modify the condition rules like this

    Dynamic control of hour for a reservation form Image 1 Screenshot 20

     

    On this rule, the submit button will only be disabled if the current Time is within 19:00 - 19:30.

    It should be available again after 30mins..

    I hope this idea help on your requirement. 

    Thanks.