Clear the password error message when changing or entering data to the fields To clear the password error message on the registration page, you need to use a custom code. Try the sample javascript code below: