WordPress.org

Ready to get started?Download WordPress

Forums

Super Simple Contact Form
Idea to validate email (1 post)

  1. gazzamit
    Member
    Posted 1 year ago #

    I have added this code to validate most email addresses.

    elseif(!filter_var( $_POST['sscf_from_email'] , FILTER_VALIDATE_EMAIL))
    return $this->draw_form( __( 'Your email address appears to be invalid!', 'super-simple-contact-form' ) );

    http://wordpress.org/extend/plugins/super-simple-contact-form/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.