I have 4 lists:
- Category
- Subcategory
- Detail
- IT Service Request
Column Details:
- Category list has one column: "Title"
- Subcategory list has two columns: "Title" and a lookup column named "Category"
- Detail list has two columns: "Title" and a lookup column named "Subcategory".
- IT Service Request list has multiple columns: Assigned On/Assigned To/Requester name, etc.
Here is my script:
<script src="//code.jquery.com/jquery-1.10.1.min.js"></script>
<script src="https://cdnjs.cloudfare.com/ajax/libs/jquery.SPServices/2014.02/jquery.SPServices.min.js"></script>
<script type="text/javascript">
$(document).ready(function() {
$().SPServices.SPCascadeDropdowns({
relationshipList: "Subcategory",
relationshipListParentColumn: "Category",
relationshipListChildColumn: "Title",
parentColumn: "Category",
childColumn: "Subcategory",
debug: true
})
$().SPServices.SPCascadeDropdowns({
relationshipList: "Detail",
relationshipListParentColumn: "Subcategory",
relationshipListChildColumn: "Title",
parentColumn: "Subcategory",
childColumn: "Detail",
debug: true
})
In my "IT Service Request" list, I added it into the source in a content editor in Newform.aspx. At first, this worked just fine. But something happened and all of a sudden it's not working at all. I tested JQuery and it is loading. But my cascading dropdown isn't working whatsoever.
I'm pulling my hair out trying to figure out what's wrong. Help!
I'm using SharePoint Enterprise 2016. Thank you!