Hide the Employee and Contractor account type to only display and be selectable for the one group
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-10-2024 11:01 PM
Hi,
I am figuring out how to hide Question Choices on a Select Box type Employee and Contractor account type to only display and be selectable for the NerveCenter group.
The variable name is the Account type Question Choices on a Select Box we have 5 Employee, Contractor, Service Account, Resource Account, and Support Account. Employee and Contractor account type to only display and be selectable for the name of the Support group.
Any assistance would be greatly appreciated.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-10-2024 11:14 PM - edited 01-10-2024 11:15 PM
Hi ,
Write onchange client script on group and write below script
if(g_form.getValue('assignment_groupname') =='groupSysID'))
g_form.removeOption('fieldname','employee and contractor value');
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-10-2024 11:39 PM
Hi, thank you for replying. But it's not working employees and the Contractor should be visible for Support group members only
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-11-2024 12:29 AM
I created a Catalog Client Script but it is not working.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-11-2024 01:18 AM
Hi Naveen,
You should use Catalog UI policy instead of client script. You can make the fields visible only for the Support group and check reverse if false to true.
If you found this reply helpful, please mark it as solution/helpful.
Thanks and Regards,
Ehab Pilloor