Update Calculate Time Selection with Condition

  • MaidCrew
    Asked on May 2, 2019 at 7:41 PM

    Hi.. is there a way to update a time selection within a Date Field based on previously answered radio button?

    I want to restrict the time a form user can schedule by forcing them to choose between only four options. Once they've selected their preferred arrival time by way of the radio choices, I wish to update the time selection within the date field so it can be used within a Google Calendar integration.

    Can this be done?

  • Jed_C
    Replied on May 2, 2019 at 10:57 PM

    You'll have to create multiple Date Picker field and apply the limit to each field. Then you can show and hide the Date Picker field base on user answered in radio button.

    ex. 

    Date Picker 1 will only show dates 1- 7

    Date Picker 2 will only show dates 8-14

    etc..

    Reference guide: 

    https://www.jotform.com/help/337-How-to-Use-the-Date-Limits-Option

    https://www.jotform.com/help/316-How-to-Show-or-Hide-Fields-Base-on-User-s-Answer

    Let us know if you have any questions or if you need further assistance. 

  • MaidCrew
    Replied on May 3, 2019 at 6:28 AM

    Jed_C,

    While I appreciate your effort in providing an answer, I'm not sure you understand my question. Please re-read my request.... I'm not asking to update the DATE, I'm asking about updating the TIME based on conditions.  If "Select Time Radio Question" equals "9am" Calculate Time selection value within the date field to reflect "09:00 AM".  If this is not possible, a creative work-around would be appreciated.

    Anyone else at Jotform want to take a crack at it?

    Thanks.

  • jonathan
    Replied on May 3, 2019 at 9:07 AM

    We apologize for the confusion. What I suggest you also check is our user guide: Mastering Date and Time Calculation

    The key to this is to identify the time conversion in Epoch Time format.

    Update Calculate Time Selection with Condition Image 1 Screenshot 20

    I will create a demo form to show how to use this to change the Time in Date picker field. I will update you shortly.