Expand my Community achievements bar.

SOLVED

Floating Fields

Avatar

Former Community Member

I'm starting to work on a form that gets ugly as it goes along and I thought that if I used floating fields, then hid the text field on exit, I could create something that looks more like a form letter than what was originally given to me to recreate.

But I don't have alot of experience with floating fields and I can't get them not to bunch up when I put text into the text fields. I have published this form at:

https://acrobat.com/#d=7Tpj6kIIUUCtSVGtCOvwUA

If someone would be kind enough to tell me what I'm doing wrong. Is the first and last name too much information for one floating field? I have everything set to expand in width but when I type into the name field, it displays like this:

First Name

Last Name

instead of First Name Last Name

I have a whole lot more floating fields to insert into this form because the original reads like:

Your application dated______for _____ was _____.

And it would read so much better for the client if the floating fields grabbed that info and set it into a sentence. And for our agents, the sentence should look like the one above so they know what goes into each space, then on exit set that text into the floating fields in a hidden/visible paragraph. But for our clients it would be so much better if the form read:

Your application dated January 12, 2012 for medical assistance was approved.

Thanks for your help.

1 Accepted Solution

Avatar

Correct answer by
Level 10

Hi,

If you go to the File > Form Properties > Preview and make sure that the form is being previewed as an Interactive Form:

Parallels Desktop1.png

Next, in the hierarchy you need to make sure that the field that the user fills in is at the top (eg the last object in the hierachy list with that name). See the form.

https://acrobat.com/#d=J6gcVLPrWZoGaCgO7sj1Rg.

In the exit event you need to force a relayout() to push the recently added data to the visible field out to the floating field. Adding script to Action Builder script can be tricky - LC Designer will try and comment out your script. Again see the form.

Niall

View solution in original post

2 Replies

Avatar

Correct answer by
Level 10

Hi,

If you go to the File > Form Properties > Preview and make sure that the form is being previewed as an Interactive Form:

Parallels Desktop1.png

Next, in the hierarchy you need to make sure that the field that the user fills in is at the top (eg the last object in the hierachy list with that name). See the form.

https://acrobat.com/#d=J6gcVLPrWZoGaCgO7sj1Rg.

In the exit event you need to force a relayout() to push the recently added data to the visible field out to the floating field. Adding script to Action Builder script can be tricky - LC Designer will try and comment out your script. Again see the form.

Niall

Avatar

Former Community Member

Yes, it kept commenting out my relayout when I set the fields in Action Builder. But I looked at those two lines of script and thought "oh, I can do this" but alas I couldn't.

You probably haven't seen the last of this form either, just a forewarning if you'd like to leave town again. Now I have to go on to the ugly body text but I think with the changes you made I have a better chance of getting a little further before I cry for help again.

And see how bad things are here? I'm the best they have! Now, there's a scary thought.