Dropdown 1 list creating automated choices for Dropdown 2 to select from ?
Copy link to clipboard
Copied
Hi there
Ive been looking on the the forum but haven't quite found the right answer therefore this may not be possible. I would like to create a drop down in which the selected value "sector" then will generate a list of options for the person to select one of the "segment" choices.
To put into context:
Drop down 1 - Title : sector
Professional services
Farms and Estates
Leisure and Hospitality
Drop down 2 - Title : Segment
Professional Services segments include:
- Bankers
- Private Equity
- Lawyers
- Solicitors
- Financial Services
- Valuers
- Property advisors
Farms and estates segments include:
- Arable
- Livestock
- Forestry
- Dairy
- Fisheries
Leisure and Hospitality segements include:
- Food and Beverage
- Entertainment and recreation
- Accommodation
- Combination
- Travel/Tourism
Any help would be mostly appreciated.
Thanks
Copy link to clipboard
Copied
is this an acrobat question?
Copy link to clipboard
Copied
Hi yes it is .. I dont think this is possible but thought I woul ask the question
Copy link to clipboard
Copied
That's called an intelligent forum. Answers given to one question, lead to other questions and so on. Depending on how sophisticated this will be, you might need to program a dedicated app to handle all the variables. A good example off the top of my head would be TurboTax (tax preparation software).
Copy link to clipboard
Copied
Thanks Nancy - I will have alook into this
Copy link to clipboard
Copied
in the future, to find the best place to post your message, use the list here, https://community.adobe.com/
p.s. i don't think the adobe website, and forums in particular, are easy to navigate, so don't spend a lot of time searching that forum list. do your best and we'll move the post if it helps you get responses.
<moved from using the community>
Copy link to clipboard
Copied
As 'Validation' script of "sector" field, use this:
var f = this.getField("segment");
switch(event.value){
case "Professional services":
f.setItems(["Bankers","Private EquityLawyers","Solicitors","Financial Services","Valuers","Property advisors"]);
break;
case "Farms and Estates":
f.setItems(["Arable","Livestock","Forestry","Dairy","Fisheries",]);
break;
case "Leisure and Hospitality":
f.setItems(["Food and Beverage","Entertainment and recreation","Accommodation","Combination","Travel/Tourism"]);
break
default:
f.clearItems();}
Copy link to clipboard
Copied
Screen shot 1
Screen shot 2
Screenshot 3
Hi Nessa, I have attempted to add the script you have given with no joy unfortunately. I have added screen shots to show you how I have applied in case I am doing something wrong.
Thanks

