A
AAaron123
I have a textbox for password and one for passwordconfirm with no attributes
except ID, TextMode, Runat.
Also have:
<asp:Button ID="ButtonSetUserPassword" runat="server" Width="150px"
Text="Set Password"
ValidationGroup="adminsetpassword" />
<asp:CompareValidator ID="CompareValidatorPassword" runat="server"
ControlToValidate="TextBoxNewPassword"
ControlToCompare="TextBoxPasswordConfirm" Type="string" Operator="equal"
ErrorMessage=" * the password and confirm password fields do not match."
Display="Dynamic"
ValidationGroup="adminsetpassword" />
As soon as I leave the first textbox I get the do not match message.
It really should not check until after the second box is filled but I din't
know how to make that happem.
Thanks
except ID, TextMode, Runat.
Also have:
<asp:Button ID="ButtonSetUserPassword" runat="server" Width="150px"
Text="Set Password"
ValidationGroup="adminsetpassword" />
<asp:CompareValidator ID="CompareValidatorPassword" runat="server"
ControlToValidate="TextBoxNewPassword"
ControlToCompare="TextBoxPasswordConfirm" Type="string" Operator="equal"
ErrorMessage=" * the password and confirm password fields do not match."
Display="Dynamic"
ValidationGroup="adminsetpassword" />
As soon as I leave the first textbox I get the do not match message.
It really should not check until after the second box is filled but I din't
know how to make that happem.
Thanks