Thanks Ray - I didn't add anything - the Confirm field was added as part of the Security Assist wizard.
The code currently looks like:
<div class="errorGroup">
<span id="Registration_group_1_Confirm_Spry">
<input id="Registration_group_1_Confirm" name="Registration_group_1_Confirm" type="text" value="<?php echo((isset($_GET["invalid"])?ValidatedField("registration","Registration_group_1_Confirm"):"")); ?>" size="50" tabindex="13" onBlur="hideServerError('Registration_group_1_Confirm_ServerError');">
<?php
if (ValidatedField('registration','registration')) {
if ((strpos((",".ValidatedField("registration","registration").","), "," . "8" . ",") !== false || "8" == "")) {
if (!(false)) {
?>
<span class="serverInvalidState" id="Registration_group_1_Confirm_ServerError">Password values must match.</span>
<?php //WAFV_Conditional registration.php registration(8:)
}
}
}?>
<span class="textfieldInvalidFormatMsg">Invalid format.</span><span class="textfieldRequiredMsg">Password values must match.</span> </span>
</div>
So that has a <span id> value of Registration_group_1_Confirm_Spry - which looks right.
Or, if I take it out, and add a new field myself:
<span id="spryconfirm2">
<label for="Confirm">Confirm</label>
<input type="text" name="Confirm" id="Confirm" />
<span class="confirmRequiredMsg">A value is required.</span><span class="confirmInvalidMsg">The values don't match.</span></span>
How do I relate that back to the Password field?