What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.
At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.
We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.
Updating a form time field from another form time fieldAsked by TerryGALA on August 08, 2014 at 10:17 AM
Trying to conditionally update a time field with a date entered in a different time field. Update works if I try to update a text field but not when I try to update a time field.
I understand that you want to update a time field with another time field. Could you please elaborate on updating text field that is working for you?
I don't think this is possible to update time field using conditions wizard as we can do with text fields. However, I am working on the issue and I'll update you on this thread with relevant information very soon.
Please get back to us if you have other questions. We are happy to assist you.
I created a field update condition that would activate if two fields were filled. Field 1 was a time field and field 2 was a text field.
If this condition is met (namely both fields are filled) then I want the contents of Field 1 (the time field) to be inserted into a third field, Field 3, which is a time field.
First few tries failed. Nothing showed up in Field 3. So, I thought I would see if the update condition would work if, instead of trying to insert the time from Field 1 into the time Field 3, I would try to insert the time from Field 1 into Field 4, a plain text field. This worked. However, the time showed up as a decimal number (e.g. 7:45am became 7.75). So I knew, then, that the condition was being met and that JotForm was trying to update something. But when I went back to try to get it to insert Field 1 into Field 3, nothing happened.
Does that sufficiently explain what I am trying to do?
I was able to reproduce the issue. It seems that we can not populate the time field from another time field due to its custom format.
I have attached a feature ticket to this thread to see if we can have that option available at some point. However, we can not provide any ETA at this time.
We will let you know if we have any updates on this.
This actually does work. When setting up the form update condition you need to click on the Time field so it is in Text A-Z format:
See sample form here:
Thank you. It does now seem to work.