Sterc / FormIt

A dynamic form processing Snippet for MODX Revolution
https://docs.modx.com/current/en/extras/formit
33 stars 58 forks source link

Correction + feature request #188

Open Elawphant opened 5 years ago

Elawphant commented 5 years ago

Formit validate hook has password_confirm function, which compares two fields of the submitted form.

  1. The name password_confirm is confusing. user might validate whether 2 email or other fields correspond to each other or not.

  2. 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.