title: Prevent double click on form submission
body: <p>I want to prevent double click on submit button.</p>
  
  <p>My code is...</p>
  
  <pre><code>onclick='this.style.visibility = "hidden";'
  </code></pre>
  
  <p>But it also hidden if i enter wrong entry. I want to disable button on double click but button enable in validation wrong  entry</p>