// Do something on success</span>
  }
  <span class="hljs-comment">// Do nothing if the form isn't valid (as the validateForm function will show a message)</span>
});</code></pre></div> </div></div><div class="qm-api-group qm-api-arg-group"><div class="qm-api-group-header qm-api-arg-group-header qm-header-font">Arguments</div><div class="qm-api-item qm-api-javascript-arg qm-api-collapsible"><div class="qm-api-collapsible-heading"><div class="qm-api-collapsible-toggle"><i class="qm-api-chevron-icon"></i></di