Skip to main content
Known Participant
July 18, 2016
Question

drop down selections

  • July 18, 2016
  • 1 reply
  • 662 views

What I still would like to do is when I make a selection from drop down A to trigger drop down B and trigger drop down C. Let me explain a bit. Each drop down has the same names of people but with different info. Such as drop down A would have the addresses. Drop down B would have their social security numbers and C would have their phone numbers.

So then when a name is selected in drop down A the address info would show in text field A. Drop down B would be triggered and to show the social in another text field and C would do the same but with their phone numbers.

Can someone help me with this? I don't know javascript enough to figure it out so I have to ask for someone's help to get it done. If you know the javascript could you share it with me so I can learn a bit more? Thanks guys.

I'm using Acrobat Pro X on a Macbook Pro.

This topic has been closed for replies.

1 reply

Inspiring
July 18, 2016

Why not just use one drop down and then use a script to retrieve the needed information from an array or object?

Changing another field with combo box (drop down) selection by Thom Parker

Even thought this might be considered "old" it still works. Download the example and see for your self.

SeanMFRM
Participating Frequently
April 5, 2017

I like Thom Parker's design. I've a question that Susan asked, but I would appreciate any assistance with a text field.

I just thought of another question to go along with my previous one. Since this is for an order form and I’ll have several item numbers, would it be better to just have the client be able to type in the item number instead of using the dropbox? And if so, how can I achieve that?

Thanks again!

gkaiseril  wrote

Why not just use one drop down and then use a script to retrieve the needed information from an array or object?

Changing another field with combo box (drop down) selection by Thom Parker

Even thought this might be considered "old" it still works. Download the example and see for your self.

SeanMFRM
Participating Frequently
April 7, 2017

Hello,

Thanks for your reply, but I'm not adept in what you are suggesting. In Tom's example, he is using Alpha characters, if you use numeric, it will not populate the fields.  For example, if a zip code 10048: var DeptData = { 10048:{ Location: "Ground Zero NY"}

There will be no results populated in the Location field as the zip is numeric.

Sean