Time field: Unable to set a condition based on the end time field in a time range

  • bowbrickhill
    Asked on September 1, 2019 at 10:23 AM

    Hi, I'm making a booking form for a sports pavilion we hire out.  It normally closes at midnight but on Saturdays it closes at 10pm.  I need to find a way of preventing people from setting the finish time of their bookings after 10pm on Saturdays and after Midnight on other days.

    What I need is some nested If Conditions that say something like If Date of booking equals Saturday and if Finish Time is greater than 22.00 then show error and do not allow booking to go ahead.

    I can 't see how to specify the finish time though or how to prevent the booking from being accepted.


    Any ideas?


    Thanks,


    Tony


  • Kiran Support Team Lead
    Replied on September 1, 2019 at 11:33 AM

    I have checked your JotForm and see that the time field is set with the time range. It looks like the condition is only reading the value from the start time field. As a workaround, you may consider using two different time fields and set the condition using the end time field. 

    I am also forwarding the thread to our backend team for further investigation. If there is any news in this regard, we'll let you know here.

    Thank you!