Is there a way to set a limit range for the Time field?

  • umosjotform
    Asked on October 14, 2019 at 3:44 PM

    Is there a way to set a limit range for the Time field?

    For example, we want people to only be able to select a time within our operating hours, so is there a way we can we limit the time selection to be from 8:00 AM - 5:00 PM?

  • Vanessa_T
    Replied on October 14, 2019 at 4:48 PM

    Unfortunately, no, there is no way to restrict the time on a configurable list widget, and even on the regular time field.

    However, may I ask the purpose of the form? If you want your users to be able to book time slots, you may use the following widgets:

    Appointment Slots

    Gift Registry

  • umosjotform
    Replied on October 14, 2019 at 5:13 PM

    Hi, Vanessa! That Appointment Slots widget is pretty cool, but since it only lists days, it won't work for our purposes.

    The purpose of our form is to allow users to schedule an event in our corporate conference room. Currently, we are using the Configurable List to record:

    1. the date of the event
    2. the time the guests will arrive
    3. the time the event starts
    4. the time the event ends

    So, this works for what we need, but ideally we'd like to eliminate time choices that are outside of our operating hours. 8:00 a.m. - 5:00 p.m.

  • Vanessa_T
    Replied on October 14, 2019 at 5:29 PM

    You can actually control the choices on the Appointment Slot widget.

    1571088132Screen Shot 2019 10 15 at 5 Screenshot 10

    However, the choices are fixed, unlike what you need where you let the user set the start and end.

    Unfortunately, I'm afraid I could not give any other alternative with what you have.