Expand my Community achievements bar.

Multi Line text field

Avatar

Level 2

I have a multi line text field on my form and it displayes about 30 lines in the form. Is there a way to have the form add lines in the field? It currenly looks like is a blank box, I would like lines added.

Thanks  

4 Replies

Avatar

Level 10

Select the TextField and set font style to Underline.. It will place an underline to Caption also, if you have it. If you want to remove underline for Caption just select Caption text only and then uncheck the Underline for Font Style..

This is the only way I know of adding lines to multiline text field.

There is another one "Comb" -ination of characters which will work only with single line text field.

Hope this helps..

Thanks

Srini

Avatar

Level 2

Srini,

Thank you for the response,  I did set that, but my problem is that the multi-line box is empty and I would like it display a line for each blank line of text. This is especially important because some customers may choose to print the form and write their response.

Thanks again...

PW

Avatar

Level 10

Niall posted a sample a while back which has a couple of techniques for doing this.

http://forums.adobe.com/message/2339996#2339996

Avatar

Level 10

If I understand your requirement correctly..

    Some users can fill the form online and some users will take print of the form and then write their response.

If that is the case, I can think of other option..

     Add a table to your form below the Text Field and add one column with only one row. Set the Bottom border only for the Row. Check the checkbox for Row "Repeat Row for each Data Item". And set the presence property of Table to Hidden. Make the form as Dynamic XML Form. To make this work, I need to set the Page1 as Flowed Subform..

Check the atatched sample file..

     https://acrobat.com/#d=FxBlYEm-aH7NUmT1dk8Lbw

If the user enter the value in the TextField, the underline will be placed automatically since I set the Font style to Underline.

If the user prints the form, then I am hiding the Text Field and displaying the Table Row and setting the rows to 30. (check the code in prePrint and postPrint events).

     To test the sample, open the file in Reader/ Acrobat and then click on Print.

Hope this gives an idea..

Thanks

Srini