These forums are now Read Only. If you have an Acrobat question, ask questions and get help from one of our experts.

LiveCyle Form - 'growing' textfield

hmgleong
Registered: Oct 17 2007
Posts: 4

I'd like to know if this is possible: to have a form with a textfield of a reasonable size (1/4 of the page, say) that will grow if the user types (or copy/pastes) more data that the field can display. I've attempted to use the flow content features of LiveCycle Designer, but the text fields do not expand when I test the form. Can the textfield 'get bigger', at least when printed, if it is in a flowed subform?

My Product Information:
LiveCycle Designer, Windows
thomp
Expert
Registered: Feb 15 2006
Posts: 4411
For the text field to grow on a LiveCycle form it has to be saved as a Dynamic Form. Also, All the elements in the form hierarchy from the expandable field on up have to be set to flowed content and be expandible. Take a look at the samples that come with LiveCycle.

Thom Parker
The source for PDF Scripting Info
www.pdfscripting.com
Very Important - How to Debug Your Script

sconforms
Expert
Registered: Jul 10 2007
Posts: 92
You'll also need to make the text field height-expandable by checking the Expand property under the Height property on the Layout palette. You may also want to make it a multiline field by checking the "Allow Multiple Lines" property on the Field tab in the Object palette.

With the field set to expand in height and the form saved as a Dynamic PDF form, as Thom mentioned, it'll expand as you expect. If you need objects below it to flow downwards or upwards as the field's height grows or shrinks, respectively, you'll need to put the field and the objects that follow it into a flowed container, as Thom mentioned as well.

Stefan Cameron obtained his bachelor's degree with Honors in Computer Science at the University of Ottawa and is a Computer Scientist working on Adobe's LiveCycle server products, in particular on LiveCycle Designer ES for the past 5 years.

djinges
Registered: Jun 27 2007
Posts: 55
HI ALL,

the way to get text field expandable depending on setting (sub) form flowed content is very troublesome.

Getting the effect of multiple lines text field within (sub) form, you need to activate the option flowed content of this form (as THOMP aforementioned). But it's very hard to customise the position of sub forms on the one hand. (Ok, making your sub form(s) flowed position is one solution) How to you solve the problem for which sub form expand to the next page on the other hand? You can also make each sub form flowed content and etc. - all this steps is sooo weird!-)

Moreover, there is sub form hidding for the purpose of Yes/No-question, e. g. which sub form just pops up depending on user input. There is, in my point of view, not possible working with (sub) form flowed content.

My present idea is using (sub) form with flowed position and customising object's position with its current height. How do you get the current height of multiple lines text field or object?

It'd fine to get help from you and thanks in adv!