Hi Joget teams,

I tried to change the button's value using javascript as below using the HTML form element:

<script language="text/javascript">
$(document).ready( function() {
} );

But there are no changes on the button's value. Attached is my system screenshot.


  1. I've noticed the same thing. In v4 as well, does not look like I can change the button text. Here is my javascript that is in the Custom HTML


    Unknown macro: { $("#saveAsDraft").remove(); }


    $( window ).load(function() {

    document.getElementById('assignmentComplete').value= "ABC";
    document.getElementById('submit').innerHTML = "ABC";
    document.getElementById('assignmentComplete').innerHTML = "ABC";


  2. Hi,

    you can use below script to change label of buttons and hiding 'save as draft' button

    <script type="text/javascript">






    Write this script in custom html

    You can also hide 'Save As Draft' button by checking 'Remove save as draft' button found under 'Map Activities to Forms'.