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
Views
Replies
Total Likes
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
Views
Replies
Total Likes
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
Views
Replies
Total Likes