I’ve done a registration form with password and password_confirmation
fields and the fields are being cleared if there is an error with
form input, e.g. invalid email. I find it annoying that password has to
reentered when there is a problem with another field, actually, there
be many iterations until the user gets input right. All this time having
reenter password and confirmation is clearly annoying.
So, I would like the password and confirmation fields not to be cleared
the password is ok and confirmation matches it. However, I have no idea
where to start. Any ideas?