- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-24-2017 06:40 AM
I need to change the name that shows up on the form for the Varaible editor formatter so instead of displaying
Varaibles, I need to label that to be Work Actions or something other than variables.
Thank you
Tricia
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-24-2017 08:26 AM
Next step is to check your browser console and see if there are any errors. There could be another script preventing this one from running. You can also test in the Javascript executor (press CTRL+ALT+SHIFT+J) while viewing the 'sc_task' form where the variable editor is and paste in everything inside of the 'onLoad' function.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-24-2017 08:59 AM
Ok I will try that
Be back at ya!
Thank you
<https://htmlsig.com/t/000001C0XZNW>
Patricia Lynch / ServiceNow Senior Technical Consultant 
patricia.lynch@cdillc.com<mailto:patricia.lynch@cdillc.com>
CDI LLC 
O +1 (201) 426-9264
M +1 (201) 397-3766
696 US 46 West, Teterboro, NJ 07608 
www.cdillc.com<http://www.cdillc.com/>
<https://htmlsig.com/t/000001C4DJ2F>[cid:image004.png@01D28E95.77E0D3E0]<https://htmlsig.com/t/000001C8HE8S>[cid:image005.png@01D28E95.77E0D3E0]<https://htmlsig.com/t/000001C6Q638>[cid:image006.png@01D28E95.77E0D3E0]<https://htmlsig.com/t/000001C95K6C>
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-24-2017 09:05 AM
Ha..! It's working
Took my do gout for a walk came back to work on this again and walaaa.
I added the innerText and that seemed to work.
function onLoad() {
try{
$$('.veditor_header')[0].innerHTML = 'Work Actions';
$$('.veditor_header')[0].innerText = 'Work Actions';
}catch(e){}
}
Thank you All very much!
Tricia

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-24-2017 09:07 AM
Thank you. If you can mark my answer as correct I'd appreciate it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-24-2017 09:14 AM
Thank you again Mark!
This worked
Tricia

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-02-2017 09:28 AM
Mark,
Thank you. I have gone one step further to hide it completely, as such:
try
{
$$('.veditor_header')[0].style.display='none';
}
catch(e){}
Thanks for help putting the pieces together as its always bothered me.