Auto select single value-list item in pop-up menu.
I'd like to be able to automatically select the option in the next Pop-up menu if there's only one option in the list.
I have 4 Pop-up menus in a portal row:
Supplier → Category → Sub-Category → Item
Some of my Suppliers only have one category, or one sub-category in a category.
Could anyone suggest a trigger script that automatically selects the next pop-up menu value, if the conditional value list only has one item, when a user selects an option from the first pop-up menu.
In the screen shot below, I'd like Concrete to be selected automatically after HSS is selected from the Supplier list.