Greetings
I can't seem to get the equalTo to work on the server side validation. It keeps telling me they do not match.
Any ideas.
Please advise.
Thanks.
Portion of the XML:
<property name="Email" >
<rule type="required" failureMessage="Please provide an email adress." contexts="User" />
<rule type="maxLength" failureMessage="Email is too long." contexts="User" >
<param name="maxLength" value="60" />
</rule>
<rule type="email" failureMessage="Please provide a valid email adress." contexts="User" />
</property>
<property name="ConfirmEmail" >
<rule type="equalTo" failureMessage="Email addresses do not match." contexts="User" >
<param name="ConfirmEmail" value="Email" />
</rule>
</property>
HTML Code :
<tr>
<td>Email:</td>
<td>
<div id='frmUserDetails_Email_errorloc' ></div>
<input name="Email" type="text" value="#tmpEmail#" size="60">
</td>
</tr>
<tr>
<td>Confirm Email:</td>
<td>
<div id='frmUserDetails_ConfirmEmail_errorloc' ></div>
<input name="ConfirmEmail" type="text" value="#tmpConfirmEmail#" size="60" />
</td>
</tr>