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

    Dynamic control of hour for a reservation form

    Asked by shamtor on March 07, 2014 at 05:26 AM

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

    I've done a form for a restaurant reservation 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.

    reservation form Emails problem check condition wizard
  • Profile Image
    JotForm Support

    Answered by jonathan on March 07, 2014 at 08: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

     

    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.

  • Profile Image

    Answered by shamtor on March 07, 2014 at 08: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.

  • Profile Image
    JotForm Support

    Answered by jonathan on March 07, 2014 at 08: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

     

    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.