Second lookup (Branch) is multilookup

Oct 5, 2011 at 9:17 PM


I've managed to adapt the script to make it work even when second lookup (second param) is a multilookup.

For this you need to replace the line:


var ccd1 = new cascadeDropdowns("Market", "Stores", "Market", "Stores", "LinkTitle");




var ccd1 = new cascadeDropdowns("Market", "Stores possible values", "Market", "Stores", "LinkTitle");

Then edit line 152 in spcd.js and add another if condition like this:
if(CascadingDropdown.childLookup.Object.options.length > 0 && CascadingDropdown.childLookup.Object.options[0].value == 0) startAt = 1;

Thats it, is working on SPF 2010 but only on IE and FF browser, not in Chrome.



Nov 17, 2011 at 10:46 AM

Did you ever make this work for Chrome?



Nov 17, 2011 at 11:58 AM


It was not working with adjustments as above, I guess it can make it work if you are willing to dig in and know javascript. It was not a requirement in my case to have it run in Chrome. Sorry.


Nov 17, 2011 at 2:46 PM

I don't really require it to work in Chrome but it would have been nice to support another browser.

Thanks anyways,