You are viewing limited content. For full access, please sign in.

Question

Question

Bug Report: Forms 11 Update 3 read-only not working on time field

asked on April 21, 2023 Show version history

It works for the h:mm field but not the AM/PM drop down when a field rule is applied to the time field.

 

   

 

When field rule is 'show always':

the field's AM/PM drop down is read-only:

 

When the form is used NOT as a preview, but in an instance, the time field shows as read-only:

 

So, this whole bug seems like it is a big deal when in preview, but when in actual use it behaves as expected.

^this was misleading. The form loads correctly as read-only, but if you use field rules to show or hide the time field, it reverts back to the bug (h:mm stays read-only but AM/PM dropdown is editable). This just confirm the issue lies with the field rules. 


A few points of clarification:

  • this appears in both preview and instance of the form
  • if I create a new form and test this, the time field is completely read-only
  • the form this issue is occurring on was created before Update 3, then the time field was added after Update 3
  • this is a time ONLY field and not a Date/Time field
  • this can be reproduced on command in separate forms instances

 

kudos to @████████ for spotting the relationship to Field Rules!

I'll now try and do that with jQuery, but wanted to report it for fix.

jQuery fix:

//set time fields to RO 
$('.departTime select, .returnTime select').attr('readonly', true).change();

 

0 0

Replies

replied on July 17, 2023

This bug has been fixed on Forms 11 Update 4.

You can see other changes from:

List of Changes for Laserfiche Forms 11 Update 4 - Knowledge Base

Get Forms 11 Update 4 from Laserfiche 11 package:

Software versions and fixes included in the Laserfiche 11 Download Package - Knowledge Base

3 0
replied on April 25, 2023

We've filed a bug (ID 424216) for this issue. Thanks for reporting it.

1 0
You are not allowed to follow up in this post.

Sign in to reply to this post.