WordPress.org

Ready to get started?Download WordPress

Forums

Contact Form 7
Send error to contact form 7 (1 post)

  1. Colir
    Member
    Posted 2 years ago #

    Hi,
    i'm using the action
    add_action('wpcf7_before_send_mail', 'wpcf7_my_before_send_action',1);

    and in my function i make some stuff with the contact form 7 values
    'function wpcf7_my_before_send_action($cfdata){..}'

    My question is, how to return an error to CF7 to display an error message ?

    something like
    $cfdata->message =>name of the error
    return false...

    thanks for your help

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

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic