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

How to use result of input in the one field in the another field of the form

sergejsu
Registered: Jun 1 2011
Posts: 3

Hello,
 
I would like to create a form in Acrobat X and X Pro, where few fields will have the same value.
 
Is it possible in AcroForms to do that, preferably without engaging LiveCycle or JavaScript?
 
I would like that upon user fill (actually choose from dropdown menu) an item in one filed, then another field would get the same value, please?
 
Thank you in advance!

My Product Information:
Acrobat Pro 10.0.1, Windows
thomp
Expert
Registered: Feb 15 2006
Posts: 4411
In an AcroForm (a form created in Acrobat Pro), fields with the same name share the same value. But the fields also have to have the same type. If you want to copy a value between a combobox and text field then a simple script is required.

Enter this into the Custom calculation script for the text field.

event.value = this.getField("ComboBoxName").value;


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

sergejsu
Registered: Jun 1 2011
Posts: 3
Thanks a lot!

The field in question are of the same type, so just Copy/Paste of the field to the second location resolved the issue.

It would be good to articulate this simple issue in the regular Help for Acrobat, as otherwise you have to find this out empirically or need to get an advise.