Cascading Dropdowns using javascript
Posted: 03 Sep 2018
Hello,
I am working on SharePoint 2013, I was creating a cascading dropdowns using javascript code, it is working as expected in the New Form, however there is a code "});})(Plumsail.FD.jQuery)//" that appears at the top of the Forms, please let me know how I can remove that from the Form. Also, code it is not working in the Edit Form.
This is the code added in the Javascript Editor:
<script src=".../SiteAssets/jquery-3.3.1.min.js"></script>
<script src=".../SiteAssets/jquery.SPServices-0.7.1a.min.js"></script>
<script type="text/javascript">
$(document).ready(function loadCascadingDDL()
{
$().SPServices.SPCascadeDropdowns(
{
relationshipList: "Country",
relationshipListParentColumn: "Cluster",
relationshipListChildColumn: "Title",
parentColumn: "Cluster",
childColumn: "Country",
debug: true
});
});
</script>
I read this solution in this url:
https://www.c-sharpcorner.com/article/c ... 013-and-o/
Please see the file attached.
Thank you!
Harold A.
I am working on SharePoint 2013, I was creating a cascading dropdowns using javascript code, it is working as expected in the New Form, however there is a code "});})(Plumsail.FD.jQuery)//" that appears at the top of the Forms, please let me know how I can remove that from the Form. Also, code it is not working in the Edit Form.
This is the code added in the Javascript Editor:
<script src=".../SiteAssets/jquery-3.3.1.min.js"></script>
<script src=".../SiteAssets/jquery.SPServices-0.7.1a.min.js"></script>
<script type="text/javascript">
$(document).ready(function loadCascadingDDL()
{
$().SPServices.SPCascadeDropdowns(
{
relationshipList: "Country",
relationshipListParentColumn: "Cluster",
relationshipListChildColumn: "Title",
parentColumn: "Cluster",
childColumn: "Country",
debug: true
});
});
</script>
I read this solution in this url:
https://www.c-sharpcorner.com/article/c ... 013-and-o/
Please see the file attached.
Thank you!
Harold A.