WordPress.org

Ready to get started?Download WordPress

Forums

Contact Form 7
Vlidation issue (1 post)

  1. gabe22
    Member
    Posted 2 years ago #

    Hi guys

    I'm having validation problems with this custom form that I made using contact form 7

    You can check the issue live here http://www.freegolfforayear.com.au/
    the input fields are mostly texts type but it keeps showins the following error even when nothing is wrong with the validation:

    Validation errors occurred. Please confirm the fields and submit it again.

    Its working fine when I remove the following divs from the code:

    <div class="entry-content">
    <div class="wpcf7" id="wpcf7-f9-p13-o1">

    But I need those divs within the code because I need to show the subscribers a thank you message.
    I already tried this code

    on_sent_ok: "alert('Thank you for signing up with us');"

    but for some reason with my current code it doesn't work.
    If anyone can provide an alternative solution to this, that would work too.

    Any idea how to fix it?

    Thanks !

    PS: I'm using Latest version of WordPress and the plugin !

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

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic