Important Notice from AspDotNetStorefront
It is with dismay that we report that we have been forced, through the action of hackers, to shut off write-access to this forum. We are keen to leave the wealth of material available to you for research. We have opened a new forum from which our community of users can seek help, support and advice from us and from each other. To post a new question to our community, please visit: http://forums.vortx.com
Results 1 to 2 of 2

Thread: how to remove required field validator in createaccount.aspx

  1. #1
    witchikikoy is offline Junior Member
    Join Date
    Oct 2009
    Posts
    14

    Default how to remove required field validator in createaccount.aspx

    Hi everyone,

    I am now developing an aspdnsf ML 8.0.1.2 and modified some of the dbo.customer's fields (ex: Removed ShippingFirstName and ShippingLastName fields). My problem is that when I hit the Create account button, the required field error message for these two fields appear and I can't seem to find a way to prevent these errors to occur. Can someone suggest a workaround on this?

    Thanks in advance for the Help. =)

  2. #2
    ASPAlfred is offline Senior Member
    Join Date
    Nov 2007
    Posts
    2,244

    Default

    Just go to createaccount.aspx file and comment out these lines:

    Code:
    <!-- <asp:RequiredFieldValidator ID="valReqShipFName" runat="server" ControlToValidate="ShippingFirstName" Display="None" EnableClientScript="false" ValidationGroup="createaccount"></asp:RequiredFieldValidator> -->
    
    <!-- <asp:RequiredFieldValidator ID="valReqShipLName" runat="server" ControlToValidate="ShippingLastName" Display="None" EnableClientScript="false" ValidationGroup="createaccount"></asp:RequiredFieldValidator> -->