Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AJAX not working on any forms being used in ACF #30

Open
lukecav opened this issue Dec 22, 2015 · 2 comments
Open

AJAX not working on any forms being used in ACF #30

lukecav opened this issue Dec 22, 2015 · 2 comments

Comments

@lukecav
Copy link

lukecav commented Dec 22, 2015

Any suggestions as to why Ajax is not working when it is enabled in the template?

Cheers
Luke

@mdnash
Copy link

mdnash commented Nov 18, 2016

Bump. Forms submit but will not redirect. Also I cannot deactivate AJAX for the life of me

@mdnash
Copy link

mdnash commented Nov 18, 2016

I ended up adding this to my functions.php file, which forced all forms to turn off ajax...

/*
    Gravity Forms => 1.9
*/

add_filter('gform_form_args', 'no_ajax_on_all_forms', 10, 1);
function no_ajax_on_all_forms($args){
    $args['ajax'] = false;
    return $args;
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants