How to make the Default Value on the Multi Line Text Bold
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2019 04:19 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2019 04:27 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2019 05:02 AM
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';
}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2019 05:57 AM
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