Validating password and re-entered password in signup

hello, wanted to know how to validate and check whether the password entered and the re-entered password to confirm are matching in the sign up page.

Hey @Shrut_Patel so you need to do this with logic. You need to have two TextField. and set a variable called error and connected it to the error field in the TextField for repeating the password.

When user clicks on submit, perform a function where you use Equal node to check if the text from both TextControllers match. If not set an error string message to a specific message like “Passwords don’t match” and use refresh to refresh the UI. That’s it :slight_smile:

hope it was clear enough.

hi, so far there is logic added to validate the email and password and ‘signupwithemailandpassword’ in firebase service.

if possible please show the addition of this password matching logic to this existing logic, or a better way.