These forums are now Read Only. If you have an Acrobat question, ask questions and get help from one of our experts.

Justify Text on a field text

Libania
Registered: Apr 29 2010
Posts: 3

Hi,

i need help to format a field text.
The problem is that the text when I choose justify, justify the lines that is not necessary, like the last line.
How can I solve this?

Thanks
Libânia

Libânia

My Product Information:
LiveCycle Designer, Windows
radzmar
Expert
Registered: Nov 3 2008
Posts: 1202
You can put a script into the layout:ready event of the text field.

FormCalc
$.para.hAlign = "justify"
JavaScript
this.para.hAlign = "justify";

radzmar
LoveCycle Blog
Documents you need:
LiveCycle Designer ES2 Docs

RichManBob
Registered: Mar 3 2009
Posts: 5
With the JavaScript
this.para.hAlign = "justify";
property setting, if you do not press Enter after the last partial line, that last partial line will not be justified. This works fine (although not intuitive) if you don't need to input anything after that last partial line, in that same text field.