Important Update: Archer Community Scheduled Maintenance on November 23–24 - New Community Launching Soon! Learn More..

cancel
Showing results for 
Search instead for 
Did you mean: 

Rename Save Button in 6.9 SP1 P3

In one case, where a record has to be saved to be enrolled in advanced workflow, we want to rename the Save button to "Begin".  Hiding the Save button and adding a custom begin button that performs the save functionality would also be fine.  I've tried to do both and failed.  I know the code to hide buttons, it's just the renaming I'm struggling with.  I think my best guess is:

<script>
Sys.Application.add_load(function() {
$('#master_btnSave1').hide();
$('#master_btnCopy').hide();
var beginbtn = document.getElementsById("master_btnApply1").childNodes;
beginbtn[0].innerHTML = "Begin";
})
</script>

This hides the Save and Close and Copy buttons, but doesn't rename the Save button.

I can see the element I want to change:

MargoBrosnan_1-1623430984683.png

My javascript is pretty weak.  Is there anyone who's figured out how to do this?  Thanks!

1 ACCEPTED SOLUTION

Accepted Solutions

DavidPetty
Archer Employee
Archer Employee

Margo, try the following,

 

<script type="text/javascript">
     $('#master_btnApply1').find('.btn-new').text('Begin');
</script>

 

 Advisory Consultant

View solution in original post

2 REPLIES 2

DavidPetty
Archer Employee
Archer Employee

Margo, try the following,

 

<script type="text/javascript">
     $('#master_btnApply1').find('.btn-new').text('Begin');
</script>

 

 Advisory Consultant

Thanks, Dave!  Worked like a charm.