I am using Forms 11 on the web client and I have a multi line field on the submission form. The first review step after the submission stage has custom html fields that pull the variable from the multi line field on the previous step. (the custom html fields are necessary because the multi line field needs to be read only on the review stages, and you can't scroll using multi line fields when they are read only.) The problem is that the text in the custom html field isn't wrapping, it just cuts off after one line. The problem just started, it was functioning properly before as shown in the attachments.
Question
Question
Replies
Forms 11 now auto expands read-only Multi-Lines to display all text, would this solve the problem?
Yes, this would solve the problem, but it isn't automatically expanding. I am currently using: Laserfiche Forms Professional Version 11.0.2201.20436
How many lines is it? This used to be something I had to do with java script for years, but over the last many builds of Forms it has been fully automatic.
Thank you for your response. I figured out that if I were to copy and paste a block of text like in the top picture above (with multiple lines), it works fine, but when I type in the multi line field without hitting enter to start a new line, it just continues to go on past the edge of the page (like the second picture above)and gets cut off. I tried resizing the multi line field to fit the text from the beginning (I changed the default height of the field from 4 to 50), but I am having the same issue with the field only displaying one line of text that is cut off once the form is submitted.
Oh do you mean that it does not expand from left to right automatically. I never tested this, I meant that it expands top to bottom. You can however keep typing and cause a vertical scrollbar to show up and not sure if that is being handled yet.
If the text exceeds the number of lines, a scroll bar will appear. You can see the scroll bar on subsequent tasks, but if the field is read only, you cannot interact with it. You can't scroll to see the additional information. That is why I was trying to use a custom html field to get rid of the scroll bar, but only one line appears (and it is cut off). I have since switched from using a custom html field to an enlarged multi line field. However, the same thing is happening where only one line of text shows up when the form is saved.
Ok yes, this is an issue if the user does not press enter and creates a vertical scroll bar. It does work however if they only use the horizontal scroll bar.
I am not sure what about the HTML object changed that used to format your text, but to work around it might require using css or javascript. Check out the CSS overflow wrap options, that might be the easiest method.