Pristine
Pristine copied to clipboard
Password match validation?
Hello,
How could add password matching. I'm trying to use addValidator but this functin only has to parameters. So I don't know the correct way to validate those fields.
Thank you!
You can add a validator to the 2nd element and compare the value with the value of the first element. Please see the demo here: https://codepen.io/sha256/pen/oNxxJrv
Thank you!