wrong error message
In addition to the error for email addresses validation without match, I'm getting a wrong error message in the email address fields.
If I type in a value that is not the same as the email it gives me the error message that a value is required and if it has no value it says that the email addresses do not match.
I've reviewed my code and don't see the difference -
<div class="errorGroup">
<div class="fieldPair">
<div class="fieldGroup"> <span id="Contact_me_group_Re_enter_your_email_address_Spry">
<input id="Contact_me_group_Re_enter_your_email_address" name="Contact_me_group_Re_enter_your_email_address" type="text" value="<?php echo((isset($_GET["invalid"])?ValidatedField("visitorsnewLogin","Contact_me_group_Re_enter_your_email_address"):"")); ?>" class="formTextfield_Large" tabindex="4" onblur="hideServerError('Contact_me_group_Re_enter_your_email_address_ServerError');"/>
<span class="textfieldInvalidFormatMsg">Invalid format.</span><span class="textfieldRequiredMsg">The email address entered doesn't match</span> </span>
<?php
if (ValidatedField('visitorsnewLogin','visitorsnewLogin')) {
if ((strpos((",".ValidatedField("visitorsnewLogin","visitorsnewLogin").","), "," . "3" . ",") !== false || "3" == "")) {
if (!(false)) {
?>
<span class="serverInvalidState" id="Contact_me_group_Re_enter_your_email_address_ServerError">The email address entered doesn't match</span>
<?php //WAFV_Conditional visitors_newLogin.php visitorsnewLogin(3:)
}
}
}?>
</div>