http://mootools.net/docs/more/Forms/Form.Validator.Extras#Validators:validate-match
On Apr 16, 1:31 pm, Lorenzo De Tomasi <[email protected]> wrote: > Ciao from Italy, > I would like to add a new validator to Mootools Form Validator, for > the typical "Confirm e-mail" or "Confirm password" fields. > The new validator should verify if the value of two textfields are > identical. You should be able to add this validation to default > "validate-email" and "required" (i.e. class="confirm-email validate- > email required"). > I have tried with this code, but I have some problems: the confirm- > email warning doesn't appear if the values doesn't match. > > http://jsfiddle.net/U3hva/6/ > > Thank you very much > > -- > Subscription > settings:http://groups.google.com/group/mootools-users/subscribe?hl=en
