DrumAt5280
Technical User
<CFINPUT TYPE="Text" NAME="contactEmail" required="no" "regular_expression" pattern="[A-Za-z0-9_]+@[A-Za-z0-9_]+\.[A-Za-z]+" message="Please enter a valid Email Address">
This code works fine when validating an entered email address, however when nothing is entered it pulls the error message which is strange since the required="no" is in the tag. Any ideas what i am doing wrong?
This code works fine when validating an entered email address, however when nothing is entered it pulls the error message which is strange since the required="no" is in the tag. Any ideas what i am doing wrong?