How can I add a calculation results in time range field (from, to)

  • Ayman
    Asked on November 16, 2021 at 10:21 AM

    How can I add a calculation results in time range field (from, to)

  • Christian JotForm Support
    Replied on November 16, 2021 at 11:31 AM

    Hi there,

    I would like to refer you to the answer of my colleague on the thread below. It already includes form with a preset calculation for time difference that you may clone.

    https://www.jotform.com/answers/1167484-how-can-i-calculate-the-time-difference

    Regards,

  • Ayman
    Replied on November 16, 2021 at 11:50 AM

    I'm sorry, it seems I didn't explain what I wanted correctly.

    In my case, I have a time_1 and time_2 (time_2 = time_1 + 3 hours) and I want to fill this result in a condition step in a time field that has the range option is on (from, to)

    1637081361 6193e11151102 Screen Shot 202 Screenshot 10


    1637081394 6193e1328f093 Screen Shot 202 Screenshot 21

  • Kevin Support Team Lead
    Replied on November 16, 2021 at 3:12 PM

    This is not possible to do on the way you're trying to do, I think there is another way to achieve it using separate fields for the hour and time, but will need some time to test the workaround, I will get back to you as soon as possible.


  • Kevin Support Team Lead
    Replied on November 16, 2021 at 9:55 PM

    I have been performing further tests, but I'm afraid that this may not be possible to do, I could not find a way to add hours or minutes to a time field, I tried with conditional logic and calculations, but seems like this is a bit complex, I will proceed opening a feature request for this, we cannot provide an ETA, we will keep you updated via this ticket.