최근 검색


최근 검색 없음

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

답변함


2023년 9월 13일에 게시됨

I need to alter the text of the submit button located at the bottom of a form. After inspecting the code, I'm unable to identify where I can access the button's text for modification. What steps should I take to accomplish this task?

 

 


0

2

댓글 2개

image avatar

Pulkit Pandey

Zendesk LuminaryCommunity Moderator

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


This worked! Thank you 

0


댓글을 남기려면 로그인하세요.

원하는 정보를 못 찾으셨나요?

새 게시물