How to set up sub category based on category in incodent form. ex - sub-category should be displayed based on specific category
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-12-2021 06:11 AM
When you select category as Hardware - it should only display sub category related to Hardware.
if you select category as Software - it should only display sub category related to Software.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-13-2021 10:08 PM
i mean you should not be able to select the sub-category - until you select the category first. i tried to make the sub category read-only, however you cannot select it once you have selected the category.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-14-2021 07:57 AM
Under the sys_choice choices for Sub-Category, there is a dependent field, that is where you would input the value of the Category it is dependent on.
How are you setting it read only? A UI Policy should be able to reverse if false, i.e. if Category is Empty > Sub-Category is Read Only would reverse the Read Only if Category is not Empty.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-14-2021 08:44 PM
what script to write in the UI policy to set this up?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-14-2021 08:24 AM
Hello Amit,
Suppose you want values c & d needs to be shown as subcategory if a is selected and e & f needs to be shown if you've selected b as category.
you'll do as following
1)Create categories a & b
2)Once created, select value as a and right click and select configure choices of subcategory
3) Create sub category c & d from enter new item and add it in selected section as shown in screenshot below
4)Similarly select B in category right click and configure choices on sub category and add e & f
Regards,
Surendra
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-14-2021 08:45 PM
what script to write to make the sub-category as read-only if the category is not selected?