WordPress.org

Ready to get started?Download WordPress

Forums

Contact Form 7
Loading form by Ajax but default Ajax validation not working (1 post)

  1. Kwayy Infotech
    Member
    Posted 2 years ago #

    Hello,

    I have created two pages. One for "Homepage" and another for "Contact". The Contact form is on Contact Page.

    The contact form is loaded by Ajax. So when you are on homepage and click on Contact link, than it loads Contact page in a DIV. I am using jQuery Ajax's load() function to load some contents only.

    Now the problem is that the ajax works and I can see Contact form by ajax. But the Contact Form 7's validation is not working. I checked the code and found that there are two JavaScript files loaded at footer. I think I need to re-call some JavaScript functions to make Contact Form 7's Ajax Validation work.

    So can anyone guide me which JavaScript funciton/code I need to run to make the form's validation work?

    Thanks

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

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic