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

Creating a field that automatically duplicates another text field?

sean90291
Registered: Nov 12 2009
Posts: 10

I'm almost finished my form--a work of art!

But I would very much like it if a field on PAGE 2 duplicated the text inserted into a single field on PAGE 1. Is there a way to do this? I don't know java scripting. I'm hoping there's a simple route.

Thank you!

thomp
Expert
Registered: Feb 15 2006
Posts: 4411
If this form is an AcroForm, i.e. it was created in Acrobat, then all you need to do is give both fields the same name. Then they'll be the same field and display the same data.

If this form was created in LiveCycle Designer you need to give both fields the same name and set the binding to "Global"

Thom Parker
The source for PDF Scripting Info
[url=http://www.pdfScripting.com]pdfscripting.com[/url]

The Acrobat JavaScript Reference, Use it Early and Often
[url=http://www.adobe.com/devnet/acrobat/javascript.php]http://www.adobe.com/devnet/acrobat/javascript.php[/url]

Then most important JavaScript Development tool in Acrobat
[url=http://www.pdfscripting.com/public/34.cfm#JSIntro][b]The Console Window (Video tutorial)[/b][/url]
[url=http://www.acrobatusers.com/tutorials/2006/javascript_console][b]The Console Window(article)[/b][/url]

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

Dimitri
Expert
Registered: Nov 1 2005
Posts: 1389
Hi sean90291,

If you give the fields on page 1 and 2 both the same name ( exact, case senstive), they will both pick up the same text entered into either one of them.

Hope this helps,

Dimitri
WindJack Solutions
www.pdfscripting.com
www.windjack.com
sean90291
Registered: Nov 12 2009
Posts: 10
Wow, that was easy. Thank you very much, it works!