Skip navigation
Urbeinarinn
Currently Being Moderated

Growing Text fields

Nov 23, 2010 7:32 AM

Hello,

 

I have one problem that I cannot solve. I have been using google to find out how to be able let Text fields grow while you write into them so the scoll bar wont come up or the txt in the field goes just to the constantly to the right. I have not found a solution but I have found this:

 

1) Open a new form and drop a text field on your form.
2) On the object inspector, click on the "field" tab.
3) Check the "Allow multiple lines" box and set your desired property values.
4) On the "layout" inspector, select "expand to fit" in the dimension that you want (i.e: width and/or height)
5) From the hierrachy, right click on your textfield and select "wrap in subform".
6) Select your new subform that just created. On the "Object" inspector, select "subform" tab.
7) Choose "flow content" for type. Select "top to bottom" for flow direction.
8 ) On the "layout" inspector, select "auto-fit" for both height and width.
9) Now, you can test your form by click on "PDF preview" tab.


And with this I am able to write into them / press tab, and then it grows. But still not the result I was looking for. I would like to be able to write into the Text fields and it grows with the writing....

 

BUT..... Then another issue comes up.
If I am writing a lot in a Text Field, it grows over the next Text Field that is below it! So when you write more then the box is designed for the text box goes over the next one. And this I have not been able to solve..
How am I able to lock those fields or connect them so when someone writes more into one the text field then the field is, it grows While writing and Everything that is below Moves down with it. ??...

 

Hope that someone is able to answer this for me.

Kind regards.

 
Replies
  • Currently Being Moderated
    Nov 23, 2010 7:50 AM   in reply to Urbeinarinn

    You must set the parent subforms to flowed instead of positioned.

     
    |
    Mark as:
  • Currently Being Moderated
    Nov 23, 2010 8:15 AM   in reply to Urbeinarinn

     

    Unfortunately, when you change from Positioned to Flowed all the layout of that subform will get messed up and you’ll have to redesign it almost from scratch.

     

     

    But it's the only way if you want to change the form layout and have your form rearrange itself “on-line”.

     
    |
    Mark as:
  • Currently Being Moderated
    Nov 23, 2010 10:30 AM   in reply to Urbeinarinn

    There are 2 orientations possible, top-bottom and western something (left-right). You have to choose one of these 2 and then align your object acordingly.

    Use the margin and padding properties to align your objects.

     
    |
    Mark as:
  • Currently Being Moderated
    Nov 23, 2010 5:24 PM   in reply to Urbeinarinn

    Hi ,

    Create a forms with a Single subform. Name it (let it be "Page").

    Change the layout to "Flow" from "top to bottom".

    Add another subform inside page.

    change property of this subform to flow.

    Add a text field inside the second subform

    change the properties of the text field.

    Select the check box called "Expand to fit".

     

    preview it . Your text will grow as you enter txt and leave the field.

     

    Add subform , change layout and add the components that the trick for growing

    and dynamic forms...

    All the best.

     
    |
    Mark as:
  • Currently Being Moderated
    Nov 24, 2010 5:26 PM   in reply to Urbeinarinn

    I am attaching a sample form .

    Hope this helps you

     
    |
    Mark as:
  • Currently Being Moderated
    Nov 24, 2010 5:30 PM   in reply to Urbeinarinn

    Sorry i forgot to attach the sample file.

     
    |
    Mark as:
  • Currently Being Moderated
    Nov 25, 2010 12:53 AM   in reply to Urbeinarinn
     
    |
    Mark as:
  • Currently Being Moderated
    Nov 25, 2010 5:04 AM   in reply to Urbeinarinn

    You won't be able to add an attachment (due to viruses being uploaded). You can share the file on Acrobat.com and then put the link to the file in the forum message.

     

    Paul

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points