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
bz880bz880 

Can I minic a dependent picklist in an AJAX app

I've been playing around the SalesForce dependent picklist functionality. It's pretty cool stuff. Can I minic this using the Ajax toolkit?

Thanks
Baldwin
DevAngelDevAngel
Yes, but it is not trivial. The dependencies are represented as a bitmask and you will need to be able to manipulate the data as bit data. I'll try to get a sample of this published when I get the chance.
andyCandyC

Please could you post a few pointers on this ? I have got as far as reading validFor against each picklist value, but it looks empty - I'm guessing I'm casting it incorrectly somehow ?

I'm using beta3.3

Cheers
Andy

 

gsickalgsickal
Dave, do you have a sample of how to display dependent picklists in an Ajax 8.0 sample?