Bold text

Rikke Dishingto
Tera Contributor

Hi

I have created a Multi Line Text Variable under a Service Catalog Item. Does anyone know how I can get some of the text in the Default Value to be bold? 

find_real_file.png

I would like the Default Value to look like this;

This text is not bold. This text is bold. This text is not bold. 

6 REPLIES 6

Community Alums
Not applicable

Hi Rikke,

 

The complete MultiLine variable will be used as a single entity. You can get control of the field and update the whole thing using a client side script. Please follow this link for example:

https://www.servicenowguru.com/system-ui/field-styles-service-catalog-variables/

 

Thank You,

Debopriya

Anil Shewale
Mega Guru

Hi

Default value is a string field, as per my knowledge you can't add for example html code to have just one word or something bold.

An option could be field styles, though that's for the field, not one line / one word.

If it help mark helpful or correct 

Thanks and regards

Anil

Ankur Bawiskar
Tera Patron
Tera Patron

Hi,

you cannot apply some style to substring from value; either complete value will get applied with style

Mark Correct if this solves your issue and also mark 👍 Helpful if you find my response worthy based on the impact.
Thanks
Ankur

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

Megha Padale
Giga Guru

Hi

Adding to Anil's reply I would like to say for the formatting you can change field from string type to a HTML field as below

find_real_file.png

https://docs.servicenow.com/bundle/jakarta-platform-administration/page/use/using-forms/concept/c_Us...

If my answer helped you in any way, mark answer as helpful and correct.

Thanks and regards,

Megha.