function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
dkorba2k5dkorba2k5 

Dynamic Picklists

Getting stuck on trying to figure out where to go with this.  With the example of Dynamic Picklists which works great.  What if I had 3 picklists (A,B, and C).  If after selecting a value on A, I find that there's only one value option for B, then I want that to be automatically selected for the user and then have C re-rendered now based on the value of B being selected.

 

I've managed to get this working fine with this one exception.  If there's more than 1 value, then we want the user to select, but to auto-select if there's only 1.  Any examples would be awesome.  Thanks.

aebenaeben
It depends on how you are loading the dependent picklist values. I ahve done something like this in AJAX and JS.