Quantcast
Channel: jQuery Library for SharePoint Web Services
Viewing all articles
Browse latest Browse all 6517

New Post: Multiple SPCascadeDropdowns on 1 Form don't save.

$
0
0
SharePoint 2007
JQuery - 1.8.3.min
SpServices - 0.7.2

I am using SpCascadeDropdown to cascade form fields. When I use 1 call to SpCascadeDropdown like so:
$().SPServices.SPCascadeDropdowns({
    relationshipList: "Method_Assets",
    relationshipListParentColumn: "Method",
    relationshipListChildColumn: "Title",
    parentColumn: "Primary Method",
    childColumn: "Primary Asset"
});
Everything works fine - the cascade works, and the data saves to the list.

When I add another call like so:
$().SPServices.SPCascadeDropdowns({
    relationshipList: "Method_Assets",
    relationshipListParentColumn: "Method",
    relationshipListChildColumn: "Assets",
    parentColumn: "Secondary Method",
    childColumn: "Secondary Asset"
});
the cascades still work. The problem is, when I have chosen values for all 4 fields previously mentioned, only the parentColumns are saved to the list. The values which are chosen for the childColumns do not save to the list. Any insight into why the data from child columns is not being written to the list?

-Aaron

Viewing all articles
Browse latest Browse all 6517

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>