Many similar questions have been asked but none seem to work.
I have Sharepoint 2010 and I have jquery-1.9.1.min and jquery.SPServices-0.7.2.min loaded into my parent site's Shared Documents. It seems to be loading them properly.
I've tried the most simplistic example and I'm still get the following error. "Message: 'childColumnStatic' is undefined"
Here is the code I added into the header.
<script language="javascript" type="text/javascript" src="/Franchising/Shared%20Documents/jquery-1.9.1.min.js"></script>
<script language="javascript" type="text/javascript" src="/Franchising/Shared%20Documents/jquery.SPServices-0.7.2.min.js"></script>
<script language="javascript" type="text/javascript">
$(document).ready(function() {
$().SPServices.SPCascadeDropdowns({
relationshipList: "Product",
relationshipListParentColumn: "Group",
relationshipListChildColumn: "Title",
parentColumn: "Group",
childColumn: "Product",
debug: true
});
});
</script>
I created the following tables.
Parent List: Group
1 Column: Title(single line Text)
Child List: Product
2 Columns:Title(Single line text), Group(Lookup of Parent list)
Main List: Sample
3 Columns: Title(Single line text), Group(Lookup to Parent List), Product(Lookup to Child List)
I have been referencing this also. http://spservices.codeplex.com/wikipage?title=$().SPServices.SPCascadeDropdowns
Thanks you for your help in advance!!