4 Replies Latest reply on May 6, 2010 10:24 AM by Srini Dhulipalla

    Multi Line text field

    pwindsor Level 1

      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.



        • 1. Re: Multi Line text field
          Srini Dhulipalla Level 5

          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..




          • 2. Re: Multi Line text field
            pwindsor Level 1



            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...



            • 3. Re: Multi Line text field
              Jono Moore Level 4

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



              • 4. Re: Multi Line text field
                Srini Dhulipalla Level 5

                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..



                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..