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

Question

Question

No scrollbar on multi-line read-only field

asked on March 8, 2018

I have a multi-line field which uses a formula to duplicate the input from several other fields into it, which I have set to read-only.  If enough data gets put into it to cause it to go off the viewable area a scroll-bar does not appear as I would expect.  Unless I remove the read-only setting, then the scrollbar appears.  Is this the expected behavior?  Is there a way to make the scroll-bar appear?

Thanks,

Alon Wiedenman

0 0

Answer

SELECTED ANSWER
replied on March 11, 2018

Well I was testing on Forms 10.3.0 and it seems the issue has been fixed on this version.

I can reproduce it on 10.2.1.246. You can try adding the following custom CSS for now:

textarea[readonly]{overflow:auto!important}

 

1 0

Replies

replied on March 8, 2018

Hi Alon,

I tested that scrollbar could appear when multi-line field value gets updated with formula:

What is the formula that you have used? Which browser do you use? And which version of Forms do you use?

0 0
replied on March 9, 2018

Hi Rui,

Here is a screenshot for reference:

You can see the "Overall Tech Notes" are being duplicated in the "Combined Tech Notes" but with no scrollbar.

Here is the formula being used:

=CONCATENATE(
"OVERALL:",Internal_Testing_Notes,"#No Notes Taken#",
"NAMEPLATE:",NamePlateTechNotes,"#No Notes Taken#",
"VISUAL & MECH:",VMInspectTechNotes,"#No Notes Taken#",
"CONTACT RESIST @ 100 ADC:",Contact_Resistance_Test_Comments,"#No Notes Taken#",
"AC VOLT WITHSTAND:",AC_Voltage_Withstand_Test_Comments,"#No Notes Taken#",
"BREAKER OPS:",Breaker_Operations_Comments,"#No Notes Taken#",
"INS RESIST 1 MIN@", VDC,"-CLOSED:",Insulation_Resistance_Tests___1_min_Breaker_Open_Comments,"#No Notes Taken#",
"INS RESIST 1 MIN@", VDC,"-OPEN:",Insulation_Resistance_Tests___1_min_Breaker_Closed_Comments,"#No Notes Taken#",
"INS RESIST CTRL WIRE:",Insulation_Resistance_Test_of_Control_Wiring_Comments,"#No Notes Taken#",
"VAC BOTTLE INTEGRITY:",Vacuum_Bottle_Integrity_Check_Comments,"#No Notes Taken#",
"BRKR TIMING:",Breaker_Timing_Comments,"#No Notes Taken#",
"MIN TRIP/CLOSE:",Minimum_Trip_and_Close_Volts_Comments,"#No Notes Taken#"
)

I also have this Javascript being triggered to work around a bug with new lines:

//Replace #No Notes Taken# with new line
$(document).ready(function(){
      // Assign a change event to detect changes to the concatenated field
      $('#q279 textarea').change(function(){
            // Replace your placeholder with a space
            //$(this).val($(this).val().replace('##',"/n"));
            $(this).val($(this).val().replace(/#No Notes Taken#/g,'\n'));

      });
});

            I tested removing the above code and it didn't help.

I have tested this on Chrome 64.0.3282.186 and IE 11.248.16299.0 with the same result

We are on Forms Pro 10.2.1.246

0 0
SELECTED ANSWER
replied on March 11, 2018

Well I was testing on Forms 10.3.0 and it seems the issue has been fixed on this version.

I can reproduce it on 10.2.1.246. You can try adding the following custom CSS for now:

textarea[readonly]{overflow:auto!important}

 

1 0
replied on March 12, 2018

Thanks Rui!

0 0
replied on September 7, 2022

This is happening on Forms Professional Version 11.0.2201.20436. I've had to increase the field height so that the user can view the data in the field, but there's no guarantee that the height I have set it to will always keep the scroll bar from being needed. The scroll bar does not appear when the field is read-only, and the data is more than what can be shown in the viewable area. 

0 0
replied on September 14, 2022

I just confirmed it work the same way on Forms 11 latest:

Can you give more details on how you used it?

0 0
replied on September 15, 2022

When the field is read-only, with more lines than the field height, the scroll bar appears but is unusable. For example, in the screenshot below, the field height is six, with seven lines of text, but it is impossible to scroll down and see the seventh line even though the scroll bar is there. 

0 0
replied on September 20, 2022

Which browser did you use? I tested on Firefox and Chrome and both scroll bar works.

And also can you post your formula setting?

0 0
replied on October 19, 2022

Hi Rui,

I am experiencing this exact same behavior. 

I have a modern form with a multi-line field set to 4 lines, set to read-only.  I populate the values with a lookup that contains 10 rows.  The scrollbar appears, but is disabled.

This is in:

Forms 11.0.2201.20436

Chrome 106.0.5249.119 (Official Build) (64-bit)

 

I can also replicated this in Microsoft Edge 106.0.1370.47 (Official build) (64-bit)

 

0 0
replied on October 19, 2022

Perhaps this issue is specific to modern forms vs classic?

0 0
replied on October 20, 2022

Hello Rui, sorry for my late reply. There is no formula in the field. The current form affected by this is our yearly evaluation form that uses multiline fields as comment boxes for each evaluation section. I had to increase the multiline field's number of lines from 4 to 8 and even 12 in some sections to ensure that everything written would be visible to the person delivering the evaluation. 

The scroll bar is disabled, and the user cannot manually expand or shrink the multiline field when the field is read-only. We cannot make the field editable because it is the final version that has gone through the approval process, and we do not want to risk changes done to what was already approved. 


I tested it on my computer's chrome browser that is up to date:

Version 106.0.5249.119 (Official Build) (32-bit) and experienced the same problem as the user and Jason described. 

0 0
replied on October 25, 2022

Hi Jason, Carlos,

Thanks for the information provided, I was able to reproduce with modern form on Forms 11.0.2201.20436. The issue did not exist on classic form.

And this bug has been filed and fixed on Forms Update 3, which will be released by the end of this year. 

Sorry for the inconvenience.

0 0
replied on January 9, 2023

The issue has been fixed for new form designer in Forms 11 Update 3.

You can see other changes of Forms 11 Update 3 from  https://support.laserfiche.com/kb/1014413/list-of-changes-for-laserfiche-forms-11-update-3 and get Forms 11 Update 3 from Laserfiche 11 package  https://support.laserfiche.com/kb/1014263/software-versions-and-fixes-included-in-the-laserfiche-11-download-package

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

Sign in to reply to this post.