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

Can not view all text when "Allow Multiple Lines" is selected

Avatar

Level 8

Hello,

I have a form that has a text field that the user can fill as much as 300 charaters with option "Allow Multiple  Lines" is selected. As the user type more texts, the field is expandable but they can not see the previous texts (the begining of the text) that they just typed. In order for them to view the begining of the text that they have to scroll up then scroll down to type more which they do not like it. They want it all to be visible as soon as they type more texts in the field as seen in MS Word. Is it possible to have it done like that for the text field in LiveCycle Designer ES? Please help.

Thanks in advance,

Han Dao

0 Replies

Avatar

Level 10

If you would have set the Expand to Fit for height then you can able to see the entire text only after you exit from the control. You will only get the scrollbar while typing in the text field.

Thanks

Srini

Avatar

Level 10

Alternatively, you can set the height and width explicitly on exit based upon the length of the string.

// form1.page1.subform1.tf::exit - (JavaScript, client)

var str = this.rawValue;

if (str.length > 100) {

this.minH = "1.0in";

this.minW = "4.0in";

}

Keeping in mind you may have to flow the form so as not to 'overwrite' fields to the right or below.

Steve