- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-09-2024 09:22 PM
Hi Team ,
can anyone please help me here .
For a Particular catalog item , I have to change label 'Description' to >> 'Justfication' .
NOTE - The variable ' Description ' we are using from variable set . If we change in variable set means it will effect for all the catalogs .
so can any one please provide me cilent script .
Thanks in advance
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-09-2024 10:22 PM
Hello @nameisnani ,
You can create an on load client script on variable set, and write below code:
if(g_form.getUniqueValue() == 'sys_id of cat item'){ //sys_id of catalog item for which you want to change the label
g_form.setLabelOf('Description', 'Justification');
}
This code will only change the label of variable for particular catalog item.
If my answer solves your query then please mark it as Accepted✔️ and Helpful👍 based on the impact.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-09-2024 10:11 PM
Hi @nameisnani
Refer below link for the solution :
Thanks and Regards
Amit Verma
Please mark this response as correct and helpful if it assisted you with your question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-09-2024 10:22 PM
Hello @nameisnani ,
You can create an on load client script on variable set, and write below code:
if(g_form.getUniqueValue() == 'sys_id of cat item'){ //sys_id of catalog item for which you want to change the label
g_form.setLabelOf('Description', 'Justification');
}
This code will only change the label of variable for particular catalog item.
If my answer solves your query then please mark it as Accepted✔️ and Helpful👍 based on the impact.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-09-2024 11:03 PM
Hi @nameisnani ,
Please create a onLoad client script and add below code
g_form.setLabelOf('Description', 'Justfication');
Please mark my answer correct and helpful if this works for you
Thanks and Regards
Sarthak
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-09-2024 11:04 PM
HI @Community Alums
could you please provide complete script