CreateUserWizard
My Membership provider settings in the web.config are the default requiring a password of atleast 7 characters and also atleast one alphanumeric character.
I'm using the CreateUserWizard and my own content template in the CreateUserWizardStep.
For both the password textbox and confirm textbox there is an associated requiredFieldValidator control and a compareValidator.
The ErrorMessage are displayed in a ValidationSummary and the text "*" in the validation controls.
What I've noticed is that if the password boxes are empty and the 'create user' button is clicked then the user will see an error message, though if say 'abc' is entered into the password and confirm password textboxes nothing happens and the page isn't submitted due to it failing 'Page.IsValid'.
How can I let the user know that the password isn't long enough and doesn't have an alphanumeric character either programmatically or with a validation control?
thanks,
Michael.
|