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
hope it was clear enough.