I am very new to SharePoint. I was trying for cascading dropdown where I have tested the scenario below:
Activity List: Bike,Cycle
Sub Activity List:Red,Green,Yellow
When I select Bike in "Activity List", I should only see Red in the "Sub Activity List" and similarly on Selecting Cycle,I should see Green and Yellow but not red.
I have used the below script:
<script src="https://site name/jquery-3.2.1.min"></script>
<script src="https://sitename/jquery.SPServices.min.js"></script>
<script type="text/javascript">
$(document).ready(function ()
{
$().SPServices.SPCascadeDropdowns(
{
relationshipList: "Sub Activity List",
relationshipListParentColumn: "Activity List",
relationshipListChildColumn: "Title",
parentColumn: "Activity List",
childColumn: "Sub Activity List",
debug: true
});
});
</script>
I have downloaded jquery-3.2.1.min.js and jquery.SPServices.min.js and have put in Sitecontents.
But I am not able to get the expected output. Can anyone please tell me what wrong I am doing in this.
<script src="https://site name/Site Contents/jquery-3.2.1.min">
and<script src="https://sitename/Site Contents/jquery.SPServices.min.js">
.