locked
The RequiredFieldValidator for the first name and last name is not working on Member_Register.aspx page RRS feed

  • Question

  • User243059914 posted
    The Member_Register.aspx page contains the following;

    <asp:RequiredFieldValidator ControlToValidate="fname" ErrorMessage="First Name is required." ID="RequiredFieldValidator1" runat="server" ToolTip="First Name is required." ValidationGroup="CreateUserForm">*</asp:RequiredFieldValidator>

    I can leave the name text boxes blank and the validator does not work (validate).

    Any suggestions?

    Friday, July 1, 2005 11:39 AM

All replies

  • User1625204979 posted
    Looks like a bug that the validators were not hooked up with the postback button on the page.  The postback button didn't have the same ValidationGroup set.  I have filed a bug for that and will let you know once the resolution is done.

    Thanks for reporting this.
    Monday, July 11, 2005 8:37 PM
  • User166373706 posted
    Was there ever any resolution to this? I am having the same issue
    Tuesday, October 18, 2005 4:32 PM
  • User1625204979 posted
    In the meanwhile you can workaround it by setting the ValidationGroup to the corresponding button:

    <Club:RolloverButton ID="cu" runat="server" ValidationGroup="CreateUserWizard1" CommandName="MoveNext" Text="Create User" />

    Friday, October 21, 2005 6:00 PM