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
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

Livecycle Designer 8.0 word wrap problem

Avatar

Level 1

Here is the link to the application I made

http://www.nevadajudiciary.us/index.php/view-documents-and-forms/func-startdown/309/

I am using Full* with script xfa.host.setFocus("FieldName"); to get my form to word wrap, but it is cutting off a letter before it does the word wrap to the next line.  Is there any way to not orphan that letter and just move to the next line?  Is there some better script out there for what I am trying to do?

1 Accepted Solution

Avatar

Correct answer by
Level 10

You are asking for a world of hurt if you try and handle the word wrap yourself. Not to mention the movement from one line to the next.

Is there anyway you can change their minds? That technique is more in tune with a printed form as opposed to an online ffillable orm.

Paul

View solution in original post

0 Replies

Avatar

Level 10

You have created individual fields for each line of the form. Why not just use a single field and set it as a multiple line field and allow the field itself to decide where to do the word wrap?

Paul

Avatar

Level 1

I wanted to do that but since it didn't show lines, the people (HR) said to not do it that way.  This is the only way I could figure out how to have an underline showing and word wrap.

Avatar

Correct answer by
Level 10

You are asking for a world of hurt if you try and handle the word wrap yourself. Not to mention the movement from one line to the next.

Is there anyway you can change their minds? That technique is more in tune with a printed form as opposed to an online ffillable orm.

Paul

Avatar

Level 1

I can try again, I told them they can either tab to next line (no word wrap) or get the 1 letter cut off.  They are stubborn being in government and all.

Avatar

Level 10

Doing your own wordwrap is goint to be very very painful.

Paul

Avatar

Level 1

Here is a question and I think it is a dumb idea, but what if I do a big text box allow word wrapping and draw lines and test it to make it look like it appears over each line like the one I currently have.  Will it show up differently in each reader or display funny on different resolutions?

Avatar

Level 10

As you type in the field the lines woudl be replaced with text ...it woudl look terrible (IMHO).

paul