make description field non mandatory
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-23-2024 12:04 AM
Hi Team ,
For this particular catalog item , i won't make this ' Description' Field non mandatory .
NOTE - Description field we are taking from variable set .
Can any one please provide client script .
Thanks in advance
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-23-2024 12:08 AM
You need to exclude this from the existing logic. How is the field made mandatory? On the variable itself? Through a ui policy? Through a client script?
Find that and exclude your catalog item from it. A new client script won't override the existing logic.
Please mark any helpful or correct solutions as such. That helps others find their solutions.
Mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-23-2024 12:31 AM - edited 07-23-2024 12:32 AM
Hello @nameisnani ,
You can achieve it by creating a new catalog client script for specific catalog item as follows -
function onLoad() {
g_form.setMandatory('help_text', false); //Replace the variable name
}Make sure to set the UI Type as All to trigger the script on Service Portal.
If my answer solves your issue, please mark it as Accepted✔️ and Helpful👍!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-31-2024 01:50 AM
Hi,
You have to check, from where "description'' field is making mandatory.
If it's through variable then you can uncheck the description variable's mandatory field.
