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

New Post: Issues Cascading 2 MultiSelects

$
0
0
Hi all,
I'm new to SPServices and was hoping to use it for a project I am working on. The scenario I am having an issue with 2 multiselect lists in a calendar view. Below is the structure of the 2 lists:

List 1:
Name: Regions
Columns: ID, University, Description, Abbv, RegionName

List 2:
Name: Systems
Columns: LongName, ID, School, Email, SiteName, RegionName

What I need to do is select 1 or many from the first multiselect based on the RegionName and populate the second with the matching sites

Below is what I have in code atm.
<script language="javascript" src="/sites/dsp/SiteAssets/jquery-1.8.3.min.js" type="text/javascript"></script>
<script language="javascript" src="/sites/dsp/SiteAssets/jquery.SPServices-2013.01.min.js" type="text/javascript"></script>

<script language="javascript" type="text/javascript">

 ExecuteOrDelayUntilScriptLoaded(loadCascadingDDL, "sp.js");

function loadCascadingDDL() 

{

 $().SPServices.SPCascadeDropdowns({

 relationshipList: "Systems",

 relationshipListParentColumn: "Region",

 relationshipListChildColumn: "RegionName",

 parentColumn: "Region",

 childColumn: "System",

 });


 

 }

</script>
I know it's probably something stupid that I'm missing so any help would be much appreciated. Thanks.

darklodus

Viewing all articles
Browse latest Browse all 6517

Trending Articles



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