Hide checkboxes based on two selectbox variables
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-07-2023 02:58 AM
Hi,
I have a requirement where if variable 1 value is None and variable 2 value is None then the checkboxes shouldn't be seen onLoad.
I have written the catalog client script, but i couldn't hide the checkboxes. Kindly help.
Regards
Suman P.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-07-2023 03:06 AM
Hi @Community Alums,
I would suggest to create Catalog UI policy and based on environment and request type variable value is none.
You have to hide the required check boxes.
Thanks,
Sagar Pagar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-07-2023 03:30 AM
Hi @Sagar Pagar ,
I can't do it. I have more options under drop down to select to show only particular checkboxes. That will create a Return if false to trigger and it will mess with other conditions. Please help with the Catalog Client Script.
Regards
Suman P.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-07-2023 03:20 AM
Hi,
Check if selection required is enabled for your checkbox variables.
If it is enabled then make it false and add check.
Hope this helps you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-11-2023 12:46 AM
Dispute User Roles was a mandatory field. I removed it not be mandatory, it started working fine now.