This project has moved and is read-only. For the latest updates, please go here.

Problem with SPCascadeDropdowns - data not shown in list

Feb 3, 2011 at 3:20 PM

I'm testing the SPCascadeDropdowns and I'm encountering the following problem:

I created 3 lists

  1. Demo cascading (Title, Categorie, SubCategorie)
  2. Categorie (Title)
  3. SubCategorie (Title, Categorie)

In the "Demo cascading" NewForm.aspx I added this JS code (right after PlaceHolderMain):

<script language="javascript" type="text/javascript" src="http://cb-mossdemo/jQuery/jquery-1.5.min.js"></script><script language="javascript" type="text/javascript" src="http://cb-mossdemo/jQuery/jquery.SPServices-0.5.8.min.js"></script>
<script language="javascript" type="text/javascript"> $(document).ready(function() { $().SPServices.SPCascadeDropdowns({ relationshipList: "SubCategorie", relationshipListParentColumn: "Categorie", relationshipListChildColumn: "Title", parentColumn: "Categorie", childColumn: "Subcategorie", debug:true, promptText:"Kies een {0}" }); });</script>
<!-- --------------------- -->

When I change the Categorie in the page nothing happens with the "Subcategorie". I checked it with firebug and the data is actually loaded but the dropdownbox is not filled.

Does anyone is having an idea what I'm doing wrong here?

Feb 3, 2011 at 3:22 PM

I just tried jQuery 1.5 yesterday and it basically breaks everything. I need to figure out why (I'm not doing anything that hasn't worked since 1.3.2) but until then, you'll need to revert to 1.4.x.


Feb 3, 2011 at 3:32 PM

Thx Marc! now it works.