How to change label value into catalog

Deepa12
Tera Contributor

Hi,

 

When the response is Yes, the catalog item variable label should be change.

 

i have written catalog client script (onchange) to change label value 

g_form.setLabelOf('fieldname', 'newname');

 

But it didnt works, pls assist me to change label name dynamically.

 

 

6 REPLIES 6

Ankur Bawiskar
Tera Patron
Tera Patron

@Deepa12 

check solution I shared few years ago and enhance it

How to make text of Label type in Bold 

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

@Deepa12 

Hope you are doing good.

Did my reply answer your question?

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader