Open Elawphant opened 5 years ago
Formit validate hook has password_confirm function, which compares two fields of the submitted form.
The name password_confirm is confusing. user might validate whether 2 email or other fields correspond to each other or not.
In a form where input names are provided as arrays, e.g.
<input type="email" name="userData[Email]" value="" id="Email" required> <input type="email" name="userData[confirmEmail]" value="" id="confirmEmail" required>
validation does not work. Please add this functionality.
Formit validate hook has password_confirm function, which compares two fields of the submitted form.
The name password_confirm is confusing. user might validate whether 2 email or other fields correspond to each other or not.
In a form where input names are provided as arrays, e.g.
validation does not work. Please add this functionality.