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

Auto Populate Field with Phone Number

SandiC
Registered: Oct 17 2008
Posts: 17
Answered

I am trying to auto populate a fax & phone number field based on the selection from a drop down list box. Is this possible without being terribly complicated? I am new with scripting.

Thanks.

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

It is certainly possible to do, and it falls into a somewhat complex task if you have no programming skills at all. However, there are tutorials and sample files here in the Learning Center that should help get you most of the way there. Here is one-
http://www.acrobatusers.com/tutorials/2007/js_list_combo_livecycle/
In the sample PDF form ( you can downlaod from tghe link in the article), other text fields are filled in based on a drop down choice (part description and price) but with some work/study on your part you can change that to use the FAX/phone numbers you want.

Hope this helps,

Dimitri
WindJack Solutions
www.pdfscripting.com
www.windjack.com
gkaiseril
Online
Expert
Registered: Feb 23 2006
Posts: 4307
You can set the export values for the options of the drop down or list. You can then use the "exit" action to set the value of the text field with the "rawValue" of the drop down list.

George Kaiser

SandiC
Registered: Oct 17 2008
Posts: 17
Thanks. I will try both. I want to learn more about doing this.