Support

Account

Home Forums Front-end Issues Is it possible to prevent the frontend form from submitting completely? Reply To: Is it possible to prevent the frontend form from submitting completely?

  • I figured it out myself after I realized that the global acf JS object was listening for form submissions. Here is what I did for anybody else who has this problem.

    $(‘form#my-form’).submit(function(e){
    e.preventDefault();
    e.stopPropagation(); // Prevent the acf object from ever hearing about this form submission
    });