WordPress.org

Ready to get started?Download WordPress

Forums

Jquery Validation For Contact Form 7
Checkbox and captcha validation (2 posts)

  1. vir27
    Member
    Posted 1 year ago #

    This plugin doesn't validate checkbox and captcha at all, i means this is not any type of error messages when checkbox and captcha is set as required fields,, please solve it out.

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

  2. sidoruk_sv
    Member
    Posted 1 year ago #

    Go to "Plugins">"Editor">choose "Contact form 7"
    and select "captcha.php" file

    there at line 113 change:
    $html = '<input type="text" name="' . $name . '" value="' . esc_attr( $value ) . '"' . $atts . ' />';
    to (add required class):
    $html = '<input type="text" name="' . $name . '" class="required" value="' . esc_attr( $value ) . '"' . $atts . ' />';

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic