Flow text from one text field to the next text field

I am using LiveCycle designer to modify a form. I want to link two text fields together so that if the first field has reached its character limit the remaining characters will flow to the next field.In Microsoft Word there is a feature that allows you to use textboxes to flow the text. It also allows the legacy fields to connect in this manner. Is this possible in LiveCycle?


Kathy Holtz


1 Answer

It is possible to do that using Javascript.
Supposing you have two text fields in the same subform, named TextField1 and TextField2, you can put a script in the change event of TextField1 field to check the number of characters typed and to set the focus to TextField2 field when you type a character beyond the limit, putting this new character in the TextField2.
See an example of this script below, using a 20 characters limit:




Almir R V Santos   


Please specify a reason: