Support

Account

Home Forums ACF PRO ACF Form + JS After Post Submission Reply To: ACF Form + JS After Post Submission

  • Hi @ryandorn

    I’m not sure I understand your question, so forgive me if I’m wrong. The acf_form() function as default will add a GET parameter ‘?updated=true’ when the submission is succeeded. That way you can check this parameter and add the script if it exists like this:

    if( isset($_GET['updated']) && $_GET['updated'] == 'true' ) {
        
        // Your code here
        
    }

    If that’s not what you want, could you please explain it to me again?

    Thanks 🙂