Idea to validate email
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’ ) );
- The topic ‘Idea to validate email’ is closed to new replies.