hide subcategory option Client script
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-03-2023 04:29 AM
Hi All
I have a requirement that if the Assignment group is "ABC" and category is 'abc' then it should hide few of the subcategories dependent on category.
I have written onChange of assignment group and category Client script, only assignment group CS is working not the category. Category Client script is working for a few sec but again it is showing all the dependent subcategories.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-03-2023 04:37 AM
Is your condition "AND" meaning Ag is abc and at the same time category should be abc , in that case you need to write only one CS on AG or Category. Also check if the subcategory field is having dependent values on category.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-03-2023 04:56 AM
Yes, its a AND condition. But we have a scenario that if the assignment group 'ABC' was already selected, and after that we want to change the category to 'abc' then one CS was not helping.
Yes, subcategory field is having dependent values on category
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-03-2023 05:01 AM
Can you post more details like screenshots and code being used to help us all to analyze and then reply.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-03-2023 05:05 AM
Can you please post what you have written