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

Copying field values to other fields

rbroyles
Registered: Dec 29 2006
Posts: 17

How can I copy the field value from a field name contained in a form to another field name on the second page of the same form.

My Product Information:
Acrobat Pro 8, Windows
Dimitri
Expert
Registered: Nov 1 2005
Posts: 1389
Hi rbroyles,

The easiest way is to give the fields the same name and whatever value is entered into one field will autmatically be entered into all other fields of the same name. If this is a LiveCycle Designer form, the fields' properties must also be set to Global as well as have the same name.

If the fields must have different names then you can use a JavaScript to get the value of the first field pulled into the second field. An example of how to do this for an Acrobat form can be found in this article at JavaScript Corner-

[url=http://www.acrobatusers.com/tech_corners/javascript_corner/tips/2006/form_calculations/]http://www.acrobatusers.com/tech_corners/javascript_corner/tips/2006/form_calculations/[/url]

Hope that helps,

Dimitri
WindJack Solutions
[url=http://www.windjack.com]www.windjack.com[/url]
rbroyles
Registered: Dec 29 2006
Posts: 17
Thank You

I had tried the making the field names the same and could not get it to work. After changing it to "Global" it worked just great.