Change "Submit" button label
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-30-2019 08:09 AM
I have a requirement to change the label of the "Submit" button to "Save as Draft" in a specific record producer. How can I do that? Any idea? Thanks in advance.
- Labels:
-
Demand Management

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-30-2019 08:23 AM
Hello Hossin,
Look at this community thread. This should do what you're looking for.
var button = document.getElementById('submit_button');
button.textContent = "Save as Draft";
I will point out though that ServiceNow does advice against DOM manipulation because this functionality could break later in the future.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-30-2019 08:42 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-30-2019 09:21 AM
If DOM does not work, make an onLoad that only has
function onLoad(){
submit_button.textContent = 'Save as Draft';
}
I've seen it done both ways, and again you want to steer clear of DOM manipulation either way.
EDIT:
I just tried it in my Dev instance and it worked for me.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-30-2019 09:33 AM
It does not work.