AnsweredAssumed Answered

Auto select single value-list item in pop-up menu.

Question asked by philmcgeehan on Nov 26, 2013
Latest reply on Nov 26, 2013 by philmcgeehan

Title

Auto select single value-list item in pop-up menu.

Post

     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.

i.e.
     In the screen shot below, I'd like Concrete to be selected automatically after HSS is selected from the Supplier list.

     Thanks

Untitled.png

Outcomes