Programmatically show/hide dropdowns based on other dropdown selection?

Dec 8, 2010 at 4:22 PM

Hi Marc, I attended (and greatly enjoyed!) both of your sessions at SPTechCon Boston in October. Do you have a recommendation for how to dynamically show/hide a dropdown based on the selection made in another dropdown? For example if I wanted the "State" dropdown to be hidden completely when the user chooses "Canada" as the "Country"? Thanks!

Dec 8, 2010 at 4:30 PM

Glad you enjoyed them!

Assuming that you are using SPCascadeDropdowns, you could add some logic in the completefunc for this. I would assume that you could make the decision based on how many values were populated in the childColumn.