Time Field: When Read-Only option is turned ON, condition is not working in Mozilla Firefox

  • hodir
    Asked on August 26, 2016 at 2: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.

  • BJoanna
    Replied on August 26, 2016 at 3:48 PM

    I have tested your form, but I am not able to replicate mentioned issue. Condition that you have set on your form is working. 

    Time Field: When Read Only option is turned ON, condition is not working in Mozilla Firefox Image 1 Screenshot 40

    Time Field: When Read Only option is turned ON, condition is not working in Mozilla Firefox Image 2 Screenshot 51

    Also Read-Only for time field is turned ON and I am not able to edit time. 

    Time Field: When Read Only option is turned ON, condition is not working in Mozilla Firefox Image 3 Screenshot 62

    On my cloned form I have hide Time field and condition is still working.

    https://form.jotform.com/62386480270962 

    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.

  • hodir
    Replied on August 26, 2016 at 4:41 PM

    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:

    Time Field: When Read Only option is turned ON, condition is not working in Mozilla Firefox Image 1 Screenshot 30

     

    But, on Google Chrome or Internet Explorer it works OK.

    Time Field: When Read Only option is turned ON, condition is not working in Mozilla Firefox Image 2 Screenshot 41

     

    Do you know why this happens, and how could I prevent it from happening on any browser?

    Thanks very much for your reply.

  • BJoanna
    Replied on August 26, 2016 at 5:02 PM

    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.

    https://form.jotform.com/62386480270962