Yup, the alphas are coming fast and furious these days.
I just posted a new alpha of SPServices v0.7.1. The most significant change in this alpha is the ability to have multiple child columns for a parent column in SPCascadeDropdowns. This was something I always intended it to do, but the last time I tried to work through it, probably well over a year ago, I wasn’t up to the challenge. This time I was, and I think that the function may also even be a teeny bit faster than it was in ALPHA7.
Here’s an example. In this simple list form, I’ve got a parent column called State and two child columns, one called City and the other called Second City.
By making two calls to SPCascadeDropdowns, both City and Second City are filtered based on the choice of State. I’ve also chosen to convert Second City from a “complex” dropdown to a “simple” dropdown by setting the simpleChild option to true.
$().SPServices.SPCascadeDropdowns({ relationshipList: "Cities", relationshipListParentColumn: "State", relationshipListChildColumn: "Title", parentColumn: "State", childColumn: "City", // Child 1 debug: true }); $().SPServices.SPCascadeDropdowns({ relationshipList: "Cities", relationshipListParentColumn: "State", relationshipListChildColumn: "Title", parentColumn: "State", childColumn: "Second City", // Child 2 simpleChild: true, debug: true });
Enjoy, and let me know if you have a chance to try it out.