
Announcements
Hi all,
I have a PDF Viewer that uses the PDF function to display the contents of a form that lives inside a container. For the most part, this is working great, but I have two issues that keep coming up:
1. There is a multiline text box in the form and the PDF only ever shows the first line of text, no matter how much I increase the height of the actual text box. Any idea how to resolve?
2. Sometimes lines of text get cut off and sit part way between page 1 and page 2. Is there a way to gain greater control over the formatting of the PDF to get text to overflow to the next page when it won't fit on the current one?
Thanks!
Hello @hcross95
How are you generating the PDF? I would like to know since this is crucial to make accurate suggestions.
As of now here's what I would say:
For question 1:
(Option 1) Find a text wrapping generator in your PDF generation settings
(Option 2) Put all text entered in the textbox to a Label that has
For question 2:
1. How many multiline textboxes do you have? If only one, you can do it by trimming output on Page 1 and continuing to Page 2. You can use Split, Concat, FirstN, and LastN for this.
In the example above, we will be limiting only the first five text on page1 label then on page2 label, we will display the remaining of the actual text from the input text box with named TextInput3.
//Code for Page1 Label
Concat(FirstN(Split(TextInput3.Text," "),5),Result," ")
//Code for Page2 Label
Concat(LastN(Split(TextInput3.Text," "),CountRows(Split(TextInput3.Text," "))-5),Result," ")
✔️ | Just in case you think my answer helped you solve your problem, please mark/accept this as a SOLUTION. This helps community members if they experience a similar issue in the future. |
🔗 | 🕸 bistek.space 🐦 @cha_bistek 📺 @BisTekSpace |