SPCascadeDropdowns using multiple lists.

May 25, 2012 at 4:13 PM

Hi

Can anyone help me with a code that filters down on several lists?

I am a complete novice and need explicit help.

My code is below but it does not work.

<script language="javascript" type="text/javascript" src="/sites/cmrcl/JS%20Query%20Library/jquery-1.6.4.js"></script>

<script language="javascript" type="text/javascript" src="http://onelink.tfl.gov.uk/sites/cmrcl/JS%20Query%20Library/jquery.SPServices-0.7.1a.js"></script>
<script language="javascript" type="text/javascript">

$(document).ready(function() {
$().SPServices.SPCascadeDropdowns({
relationshipList: "Framework Items",
relationshipListParentColumn: "Category",
relationshipListChildColumn: "Title",
parentColumn: "Category",
childColumn: "Category Sign Type",

});
$().SPServices.SPCascadeDropdowns({
relationshipList: "Framework Item types",
relationshipListParentColumn: "Sign Type",
relationshipListChildColumn: "Title",
parentColumn: "Category Sign Type",
childColumn: "Sign Item",
});
$().SPServices.SPCascadeDropdowns({
relationshipList: "Framework Category Colours/Desc",
relationshipListParentColumn: "Sign Item",
relationshipListChildColumn: "Title",
parentColumn: "Sign Item",
childColumn: "Colour or Descr",

});
$().SPServices.SPCascadeDropdowns({
relationshipList: "Framework sign Sizes",
relationshipListParentColumn: "Colour/Desc",
relationshipListChildColumn: "Title",
parentColumn: "Colour or Descr",
childColumn: "Size",

debug: true

});


</script>