Password field got cleared while submitting the form vb.net

windows

Guest
Hi,

I have 2 password fields namely Password and Confirm Password in Vb.Net form.

While submitting the form with Confrm password field empty, it displays an error message "Please enter confirm password" given by us.

But it clears the value in Password field while displays the error message.

Password field should remain with the value given while it asking to enter confirm password.

Kindly help me.

Thanks and regards,
Siva RActually, everywhere I've ever seen, the behavior you're getting is the way it's done. If you sent back the page to the user with the one password field still filled, the password could be retrieveable from the browser cache by someone other than the user, which is not a good thing.
 
Top