How to make the Default Value on the Multi Line Text Bold

shaik_irfan
Tera Guru

Hi,

 

I have a Variable of type Mulit Line Text and in the Default Value i have something called as

Project Description:

 

Project Benefits:

 

Now values mention in the Default value should be in Bold i tried with 

 

<b>1) Project Description:</b>
<br><br><br>
<br><b>2) Project Benefits:</b></br>

 

But it is not working

3 REPLIES 3

nitish
Kilo Expert

Hi,

1) This is not best practice to implement.

if you really needed write below script

function onLoad() {

var closeNotes= g_form.getControl('close_notes');
closeNotes.style.fontWeight = 'bold';

}

Chavan AP
Kilo Sage

Hi there,

Please refer my article : https://community.servicenow.com/community?id=community_article&sys_id=07a3bd13db2ccc9c2be0a851ca961...

 

because there are some prerequisite for DOM operations.

 

Regards,

Ajay

Glad I could help! If this solved your issue, please mark it as Helpful and Accept as Solution so others can benefit too.*****Chavan A.P. | Technical Architect | Certified Professional*****