How to make field msg in bold text by using client script?

Ashwini Jadhao
Giga Guru

Hi,

Can we display field msg in bold without DOM?

or is there any other solution to make it bold for example UI macro?

In My case filed msg is changing based on the value selected from select box variable. 

could you please suggest me the solution as per the best practices?

 

thank you!!

1 ACCEPTED SOLUTION

Above changes are related with Native UI forms.

If you want to do similar things on Catalog Forms for Variables then you can use UI Macros (In Native UI), Widgets (for Portal)

Also you can create rich text Label variables.

find_real_file.png

Add HTML element with style of your choice.

You can handle visibility of these variables using g_form API's. Add label after each variable and show/hide by client script based on your conditions (if that UI works for you).

 

Thanks,
Anil Lande

View solution in original post

3 REPLIES 3

Above changes are related with Native UI forms.

If you want to do similar things on Catalog Forms for Variables then you can use UI Macros (In Native UI), Widgets (for Portal)

Also you can create rich text Label variables.

find_real_file.png

Add HTML element with style of your choice.

You can handle visibility of these variables using g_form API's. Add label after each variable and show/hide by client script based on your conditions (if that UI works for you).

 

Thanks,
Anil Lande

Himanshu Gupta1
Mega Guru

Hi,

You can do all this customizations on a UI page and then call your message in that UI page and call that UI page in your client script.

 

Please mark my answer helpful if your issue is resolved

 

Best Regards

Himanshu Gupta