I need a help on form validation am not able to validate requred filed and password match field

similar question: I need help to confirm email and password