I am trying to get cascading dropdowns to work on a list, but I seem to be missing a point somewhere. Please help me out.
I have added jQuery and jquery.SPServices to my masterpage.
The dropdown should eventually cascade 3 source lists in a 4th list "Orders":
- Categories (Columns: Title)
- SubCategories (Columns: Title | MainCategory)
- Items (Columns: Title, SubCategory)
SubCategories has a lookup column to the Title column of Categories. Items has a lookup field to SubCategories.
In the NewForm.aspx in my Orders list I have added this code:
I have two questions regarding this: 1. Why does it not work and how to rectify it? 2. Where can I place this code, so I do not need to repeat it in the editForm.aspx?
/EDIT: Is it possible, that I have this code just in the wrong place for it to work? It is located in the newform.aspx of my Orders list, but references the SubCategories list. I am not sure about this, since the documentation does not cover this point clearly.