What is the best practice for mvc2 confirm password field?

Posted by Andrey on Stack Overflow See other posts from Stack Overflow or by Andrey
Published on 2010-04-21T13:42:21Z Indexed on 2010/04/21 13:43 UTC
Read the original article Hit count: 295

Filed under:
|
|
|

I have asked a similar question recently but getting no answers i am taking a step back with a more broad approach.

I am looking to create a confirm password field using asp.net MVC2 that works on the client. All my other client validation is done with MicrosoftMvcValidation.js by just adding the Html.EnableClientValidation(); call.

Some of my considerations. Should the confirm password be part of the model object? Using that approach i have created server side validation by creating my own model binder.

Are there any projects out there that have done this?

© Stack Overflow or respective owner

Related posts about mvc2

Related posts about mvc