One of the Projects I am working on, I have a SharePoint document library and from a metadata perspective I have 3 choice columns.
First Column: 'Programs' with choices as: Closing Dept, Govt Docs, Capital and Assurance.
Second Choice Column: 'Type' with choices as: Debt, Equity, Loans, grants, waiver, memorandum, facts, terms and correspondence.
Third Choice Column: 'Document Type' with choices as: surcharge, legal docs, accounting, tenant draft and subleases. All of the above choice columns are mandatory fields.
Now when a user comes in and uploads a document and as the choice columns are mandatory they will have to select appropriate value from each of them. So this where a tricky part comes into picture.
Let's say user uploads file called Document 1 and selects Closing Dept from 'Programs' choice column and then they go to the next choice column called 'Type' to select a value. So now based on selection of value "Closing Dept" in 'Programs' choice column, they only want to see Debt and equity as available choices in the Type choice column rather than seeing all choices that I listed above.
Going one step further, let's say they select Debt from Type column then they go to select value from third choice column called 'Document Type'. So in here again they would want to only see surcharge and legal docs rather than seeing all the values for Document Type column.
To cut the long story short, I would want to see filtered list of choices based on selection in a certain choice column. Is this something doable by leveraging the JSOM approach as I am working with SharePoint online/Office365.
Many Thanks in advance.