title: Prevent Gravity Forms Submission With Confirmation Box
body: <p>I'm using the following code to output a confirmation box when the submit button of a WordPress Gravity Form is clicked:</p>
  
  <pre><code>$(".gform_wrapper.form-01 form").submit(function(event) {
  
      confirm('Ut in nulla enim. Phasellus molestie magna non est bibendum non venenatis nisl tempor. Suspendisse.');
  
  });
  </code></pre>
  
  <p>The popup works fine, but I need it to prevent the form submitting if the if the user clicks the 'Cancel' button. But regardless of which button is clicked in the confirmation, the form is submitted anyway.</p>