Filling other fields automatically based on an answer selected from a drop down menu?

I am creating a PDF document with teacher's names and I have created a drop down menu of the names. I would like another field to populate with the teacher's full address is their name is selected. This is my first attempt at using JavaScript and I have no idea where to put what and how. Thanks for your help!
zurichexpatAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Bob LearnedCommented:
Here is the funny thing--I too "have no idea where to put what and how".  You would need to give us a little more information, please.
0
zurichexpatAuthor Commented:
:-) right. One field would be a drop down menu of names and I would also like to have another field labeled address that is automatically populated with the address that corresponds to the name picked from the drop down menu. I don't have any more information than that.

Thanks.
0
Bob LearnedCommented:
1) Did you want to use plain JavaScript or JQuery?

2) What do you need to know to get started?  Do you need to know the syntax for creating a script block?
0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

zurichexpatAuthor Commented:
I would like to use plain JavaScript.

I would like to know what the syntax is for creating the script and where do I add it into the document or what are the steps to adding it i.e., create custom action, etc.?

Thanks.
0
Bob LearnedCommented:
What I guess I am trying to find out, is how much do you already know?  

1) Have you started looking at any tutorials?

JavaScript basics
https://developer.mozilla.org/en-US/Learn/Getting_started_with_the_web/JavaScript_basics

2) What are you using for a development environment (Visual Studio, Eclipse, ...)?
0
zurichexpatAuthor Commented:
I know very little. I found this post here:

http://www.experts-exchange.com/Web_Development/Document_Imaging/Adobe_Acrobat/Q_23879710.html

...and think this is what I need to do but I was confused as to where this string would go in the PDF.
0
Bob LearnedCommented:
I don't know that much about Acrobat Pro.  It looks like you need to find out how to work with Javascript for Adobe.

Adding JavaScript to forms
http://help.adobe.com/en_US/acrobat/X/pro/using/WS58a04a822e3e50102bd615109794195ff-7e03.w.html
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
zurichexpatAuthor Commented:
Thanks for your help. Apologies for the goose chase.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
JavaScript

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.