Here is what I am currently using to attempt to validate a form. When I press submit with no values entered into the form, I get the error messages for each of the inputs a
Before using "equalTo" we need to take care of following points:
Use different word for input element name and id.
Use input element id in "equalTo" match instead of input element name:
Password: Confirm Password: