Jump to content
  • 1

Hide Submit button


telepet

Question

6 answers to this question

Recommended Posts

  • 0
53 minutes ago, telepet said:

Perhaps something's been deprecated?

With the Responsive feature enabled, the ID of the element gets a Unique ID suffix after each load now. This means using just the ID won't work. You have 2 choices:

input[id*="Submit"]{
  display: none;
}

Or use the class:

.cbSubmitButton{
  display: none;
}

 

Link to comment
Share on other sites

  • 0

Hello Everyone, just sharing a code that may be useful for this conversation. This hides the submit button when clicked/pressed.
 

<script type="text/javascript">

document.addEventListener('DataPageReady', function (event) {

var subbutton= document.querySelector(".cbSubmitButton");
subbutton.unsafe =  function() { subbutton.style.display = "none"; };

 });

</script>

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...