I am using membership provider have following fields in registration page in CreateUserWizardStep
1-UserName
2-Password
3-Confirm Password
4-Emial
When I create account then accounts created successfully.User AspnetMembership provider
But my question is I remove email field from registration page,it not allow to save.
show message 'please enter valid email'.
How I remove this email field from registration page.I dont want to use custom provider
Can some body give me some TIP to remove email field successfully?
I also set RequireEmail=”false” in CreateUserWizard tag
Thanks in Advance
You can do this way:
1.Remove the
emailfield from thecreateuserwizardespecialy if you’re doing it fornew activation.2.Assign a custom email for all users by handling the CreatingUser Event.
For example
noreply@yoursitename.com3.Disable
RequiresUniqueEmailin yourweb.config