I want to edit an user.
I dispay the corresponding data(username, email,..etc..password, confirmation pass)
The problem is that those password fields are empty.
- Q: When i display data in the form
the two password fields are empty.
How can i make them contain data?
Thanks.
I am using asp.net-mvc 2
<div class="editor-label">
<%: Html.LabelFor(m => m.Password) %>
</div>
<div class="editor-field">
<%: Html.PasswordFor(m => m.Password)%>
<%: Html.ValidationMessageFor(m => m.Password)%>
</div>
If you set the textmode of an
<input>to password you cannot write to it. Password text boxes are read only.If you see a password prepopulated, it’s because the browser remembered it.