I am working on a sharepoint online team site. and i want to define a Cascade drop down for main and sub categories. so i follow the steps mentioned in this Demo. Where in my case i created 3 lists inside the root site as follow:-
- Main Category list.
- Sub Category list. which have a lookup column referencing the Main Category, as follow:-
- Responsibility list. which have 2 lookup columns; one referencing the Main Category while the other referecning he Sub Category list.
Then inside the Responsibility list's New form i added this script to implement the cascading lists:-
but this will not have any effect. where inside the New form, all the main and sub categories will be shown.
So can anyone advice how to get my Cascade drop-down lists working?