Restricting form options based on access time

  • melodicsounds
    Asked on March 8, 2016 at 12:34 PM

    Hi, I have a form where I want to add a calendar to it. I need a restriction that depending on the time the person is filling the form, the calendar needs to limit 12hrs to choose. Example... if you are filling my form at 8pm and you choose in the calendar 5 am of next day this can't be possible. I need that if he fill the form at 8pm the available option of the Hour can only display 8pm of the next day... so its 24hrs that he can't choose? Did you undestood? This is like an airline flight reservation restriction... that if you want to buy a ticket at 8pm you can't choose to flight next day at 4 am because its too early...

     

    This is because we do online homeworks... so people get in our form and fill in their order details and choose a delivery time... but our office hours are 8am-6pm so if someone fill in the form at night, say 9pm and wants his homework for next day but at 7 am... there is no possibility we can do this because we will be sleeping ... thats why we need a restriction that give us 24hrs...

     

    Another thing about the calendar is that right now our "Delivery Time" is a dropdown menu... which has the option to add Value numbers to add to our final "Total" variable. But in a calendar how can I add Values? Say... if he chooses 24hrs = 10 if he chooses 2 days in the calendar = 20 if he chooses 3-5 days in the calendar = 30... is this possible?

  • Mike
    Replied on March 8, 2016 at 3:26 PM

    As far as I know, we do not have a hours restriction option available for the DateTime field.

    You may consider using conditional logic based on a current time (when user access the form).

    For example, this is possible to add a Time field with enabled Current Time option.

    Restricting form options based on access time Image 1 Screenshot 40

    * you can hide that Time field on the form.

    And text warning message.

    Restricting form options based on access time Image 2 Screenshot 51

    Then, setup the following condition.

    Restricting form options based on access time Image 3 Screenshot 62

    Form example:

    https://form.jotform.com/60675877791979

    But in a calendar how can I add Values?

    Unfortunately, there is no way to specify calculation values within the DateTime field.

    If you need any further assistance, please let us know.