WordPress.org

Ready to get started?Download WordPress

Forums

Contact Form 7
Send button directs users to home page, regardless of errors (4 posts)

  1. Creatrix
    Member
    Posted 1 year ago #

    Can anyone tell me why when I hit the send button with errors (e.g. no email address inputted) on my contact form it redirects to the home page? I want it so that it runs the validation but keeps the user on that page.
    the site is located at http://www.henryafricas.co.uk
    thanks in adanvce

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

  2. hotwebideas
    Member
    Posted 1 year ago #

    I have never seen that happen with Contact Form 7. Look at the HTML page source in your browser. Is there an action attribute in the form? It sounds like there is if your form is redirecting to your home page. As I understand, Contact Form 7 is all AJAX based, so nothing should be redirected to your home page.

    One solution is to uninstall the plugin and reinstall the latest version.

    Bruce

  3. Creatrix
    Member
    Posted 1 year ago #

    ok thanks for the reply. I've had to revert back to the old contact form until i find a fix.

  4. biswajeet
    Member
    Posted 1 year ago #

    @ChrisL_57
    It looks like to be a custom form rather than CF7

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic