Skip to Content
0
May 08, 2014 at 02:09 PM

In Textfield pagebreak if there are coming more than 3 lines

29 Views

Hi Gurus,

Here is a challenge for all scripters :-)

I have in an adobe form a longtext. I want to check in the text field via javascript or formcalc how many lines the text field contains.

And if at a certain position coming more than 3 lines make a pagebreak.

Thus 3 question I would have:

1. How to get the actual line

2. How to get the number of lines which are still coming

3. How can I trigger a pagebreak in script

Hoping getting good answers!!

Thanks+Regards