Modifying the Submit Button Text in a Form: How Can I Achieve This?

Respondida

2 Comentarios

  • Pulkit Pandey
    Community Moderator
    Zendesk Luminary

    Hi Brittany Loy

    To update the Text of the Submit button on the New Request template you need to write the Js to achieve this.

    Please add the below js at the bottom of your new_request_page.hbs file of your theme

    <script>
     var subButton =  document.querySelector("input[type='submit']");
     subButton.value = "YOUR UPDATED TEXT GOES HERE"
    </script>

    Here is the Screenshot for the same 

     

    Please let me know if it solves your issue 

    Thank You 

    Pulkit

    Team Diziana

    1
  • Brittany Loy

    This worked! Thank you 

    0

Iniciar sesión para dejar un comentario.

Tecnología de Zendesk