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

New Post: Cascading Filter Requirement

$
0
0
Glad you like SPServices!

From the email you sent. (Let's keep the discussion here, ok?):

Based on your suggestion i used the latest alpha of 2014.01 but Its not coming along..same behavior..posting the script as below..let me know if anything is missed..
<script type='text/javascript' src='/sites/Test/Style%20Library/jquery-1.10.1.js'></script>
<script type='text/javascript' src='/sites/Test/Style%20Library/jquery-1.10.1.min.js'></script>
<script type='text/javascript' src='/sites/Test/Style%20Library/jquery.SPServices-2014.01ALPHA2.js'></script>
<script type='text/javascript'>
   $(document).ready(function() {    
                
        $().SPServices.SPCascadeDropdowns({
            relationshipList: "Regions",
            relationshipListParentColumn: "Country",
            relationshipListChildColumn: "Title",
            parentColumn: "Country Required Field",
            childColumn: "Regions Required Field",
            debug:true
          });
          
        $().SPServices.SPCascadeDropdowns({
            relationshipList: "City",
            relationshipListParentColumn: "Country",
            relationshipListChildColumn: "Title",
            parentColumn: "Country Required Field",
            childColumn: "City Required Field",
            debug:true
          });
    });     
</script>
You're loading jQuery twice (both the minified and non-minified version,) which may be causing problems.

You should remove the " Required Field" text from the column names. That's not the column name, but what is now the title of the select elements. The column names should just be
            parentColumn: "Country",
            childColumn: "Regions",
etc.

M.

Viewing all articles
Browse latest Browse all 6517

Trending Articles



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