Quantcast
Channel: WordPress.org Forums » [Contact Form 7] Support
Viewing all articles
Browse latest Browse all 49500

t22james on "[Plugin: Contact Form 7] Re-initiliasing / manually calling CF7 .js (after ajax loading a form onto page)"

$
0
0

Hi there,
I am in the process of building a website which changes/loads pages via ajax. The issue is, when I 'load' in the contact page, Contact form 7 form doesn't have it's own ajax validation enabled, and the form on submission, will reload the page. Correspondingly, the newly reloaded page now DOES have the CF7 ajax enabled, as the entire contact page was 'loaded normally' and not brought in via ajax, as in the first instance.

The question is, in my jQuery .load() function, after loading in the contact page contents, I would like to be able to manually initialise CF7-ajax-validation on the newly ajaxed in contact form.

Cheers!

http://wordpress.org/extend/plugins/contact-form-7/


Viewing all articles
Browse latest Browse all 49500

Trending Articles