I'm sorry, it looks like the validation is being performed. I was
confused because the form submitted with the second field empty...I
guess I just need to set required for that field as well, although the
"matches" error message I think is adequate for all invalid values in
the second field.

Thomas

On Apr 22, 10:45 am, Thomas Allen <[email protected]> wrote:
> Hello,
>
> I was wondering why the second input in the markup below does not
> validate against the first input. The validation classes for the first
> input work as expected, so I must be using validate-match incorrectly.
>
>   <div class="input text">
>     <label for="user_password">Password</label>
>     <input class="minLength:4" id="user_password"
> name="user[password]" size="30" type="password" />
>   </div>
>
>   <div class="input text">
>     <label for="user_password_confirmation">Password confirmation</
> label>
>     <input class="validate-match matchInput:'user_password'"
> id="user_password_confirmation" name="user[password_confirmation]"
> size="30" type="password" />
>   </div>
>
> Thomas
>
> --
> Subscription 
> settings:http://groups.google.com/group/mootools-users/subscribe?hl=en

Reply via email to