Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn more

View all

Sign in to view all badges

SOLVED

Wrap text to next field without words getting cut off

meem23
Level 4
Level 4

Hi,  I have 3 textfields that will tab to the next field when full

//will tab to TextField13 once field is at its limit
xfa.host.setFocus(TextField13);

 

The problem is when text is at the end of the field and the word is too long, the word will get cut off.  Is there a way to prevent this from happening - have the complete word go to the next field?  Also, is there a way to delete text using the backspace button after the text goes to the next line. Meaning if my text tabs to the next field, I want to backspace to the previous field?

 

meem23_1-1585656179103.png

 

 

1 Accepted Solution
radzmar
Correct answer by
Level 10
Level 10

There's a nice solution for this screnario available.

All details here: https://blogs.adobe.com/formfeed/2009/04/field_tab_on_full.html

View solution in original post

3 Replies
radzmar
Correct answer by
Level 10
Level 10

There's a nice solution for this screnario available.

All details here: https://blogs.adobe.com/formfeed/2009/04/field_tab_on_full.html

View solution in original post

meem23
Level 4
Level 4

Thanks for your response. When I type in Field1 it will overflow to the next field, however, the word that overflows gets deleted when I keep typing.  I typed "If I keep typing in this field".  "this" overflows and when I continue to type "field", "this" gets deleted and I'm left with "field".  See 2 screenshots below.

 

meem23_0-1585743398470.png

meem23_1-1585743443231.png

 

 

meem23
Level 4
Level 4

Hello,  Is there a solution to the issue I'm having when the word that overflows gets deleted when I keep typing?