JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.
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.
Time Field: When Read-Only option is turned ON, condition is not working in Mozilla FirefoxAsked by hodir on August 26, 2016 at 02:28 PM
I need a condition to show a hidden field when the current time is after 14:00 but it's not working for me.
To do this I setted a time field as 24 hour format, default time: current, and Read-only; and a hidden radio button. The conditional logic on the time field is: IF TIME AFTER "14:00" SHOW RADIO FIELD (id4). But, this is not showing the field when the condition is met.
Now, when I set the time field as writable, then the condition works as expected, but I need to prevent entrys to that field.
This issue seems to be new, because a couple of weeks ago I tried this and it worked perfectly.
time field read-only a hidden format
I have tested your form, but I am not able to replicate mentioned issue. Condition that you have set on your form is working.
Also Read-Only for time field is turned ON and I am not able to edit time.
On my cloned form I have hide Time field and condition is still working.
It seems that your issue is resolved. Can you please test your form again and let us know if the issue still persist on your end.
You are right, it works, and I think the problem is the web browser that I am using.
When I use Mozilla Firefox it never shows the field, even if it is not hidden:
But, on Google Chrome or Internet Explorer it works OK.
Do you know why this happens, and how could I prevent it from happening on any browser?
Thanks very much for your reply.
Well that is strange and that should not happen. I was able to replicate mentioned issue in Firefox as well when I tested your form. However my cloned form which has Time field hidden is showing radio button field in Firefox. But when I set Time field to be shown, I was able to replicate mentioned issue on that form as well. Like you mentioned it seems that this issue is related to Read-Only option on Time field. When I turned it off form was working as expected in Firefox.
I will escalate this issue to our developers. Once this issue is resolved we will inform you via this thread.
For now you can set hide Time filed like on my cloned form and i should work in all browsers.
This has now been fixed. Sorry for the inconvenience.