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

New Post: SPCascadeDropdowns Incorrect Child Displayed

$
0
0

Hi all. Using SPServices 0.7.2 with jQuery 1.8.2.

I have a simple one field Cascade. Looking up "Districts" (child) based on "Region" (parent).

In the edit form the "District" field is correctly filtered based on the "Region" chosen. However, on the view page the wrong "District" (child) is diplayed even though the ID is correct as discovered hovering over the selection.

Here is my script:

<script type="text/javascript" src="/org/priv/jQuery/jquery.min.js"></script>
<script type="text/javascript" src="/org/priv/jQuery/jquery.SPServices.min.js"></script>
<script type="text/javascript">

$(document).ready(function() {

		$().SPServices.SPCascadeDropdowns({
			relationshipList: "{4E004980-5B45-4A52-9AAC-39875DEDCDC4}", //Regional District list
			relationshipListParentColumn: "Region",
			relationshipListChildColumn: "Title", //Provides District field
			parentColumn: "Region",
			childColumn: "District",
			debug: true
		});
	});
</script> 

I'm completely stymied by this one. Hope someone can help thanks.

Carl


Viewing all articles
Browse latest Browse all 6517

Trending Articles



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