there are three types of validation applied to the checkout page:
Spry validation
Validation Toolkit Client Side validation
Validation Toolkit Server Side validation
each validation type has it's own validation message.
lets take the address form elemetn as an example:
<p>
<label for="street1" >Address:</label>
<span id="sprytextfield10">
<input name="street1" type="text" id="street1" onblur="if (document.getElementById('street1ServerValidation')) document.getElementById('street1ServerValidation').style.display='none';" value="<?php echo((isset($_GET['valid']))?(ValidatedField("confirm","street1")):$row_WAATKusers['UserAddress']); ?>" />
<span class="textfieldRequiredMsg">Please enter the billing address for your card.</span></span>
<?php
if (ValidatedField("confirm","confirm")) {
if ((strpos((",".ValidatedField("confirm","confirm").","), "," . "16" . ",") !== false || "16" == "")) {
if (!(false)) {
?>
<span class="textfieldServerError" id="street1ServerValidation">
Please enter the billing address for your card.
</span>
<?php //WAFV_Conditional confirm.php confirm(16:)
}
}
}?>
</p>
the spry message is in the textfieldRequiredMsg span tag:
<span class="textfieldRequiredMsg">Please enter the billing address for your card.</span>
The server validation error message is in the textfieldServerError span tag:
<span class="textfieldServerError" id="street1ServerValidation">
Please enter the billing address for your card.
</span>
the address field does not include client side validation, but the cc_number element does, it is added to the onblur event:
onblur="if (document.getElementById('cc_numberServerValidation')) document.getElementById('cc_numberServerValidation').style.display='none';WAValidateCC(document.forms[0].S_ProductName,document.forms[0].S_ProductName.value,'- Invalid credit card number','xxxxxxxxxxxxxxxx','4:51:52:53:54:55:34:37:6011:30:36:38:49:50:56:57:58:6:6334:6767:',document.forms[0].S_ProductName,0,true)"
the error message is included in the script:
,'- Invalid credit card number'
you need to make sure you change the error message for all of the validation types.