When validation fails on a sign-up form, very often the input is removed unnecessarily.
Especially passwords are removed often, even when the validation of another field failed. This forces the user, to reenter the information.
Take this action
Keep user input in the input fields, even if validation failed. Users should have the chance to see what went wrong and correct possible mistakes.