The plugin should ignore buttons by default, thats a bug. Could you
create a ticket for this? http://dev.jquery.com/newticket (requires
registration)

Meanwhile, to work around it you can specifx the meta-option to
namespace metadata for validation. Just set meta: "validate" and the
button should be ignored.

Jörn

On Wed, Sep 17, 2008 at 3:49 PM, cage31 <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I would like  validate my form with the validate plugin.
> I have a little problem. In my form, there are button with metadata.
> So the html look like this :
>
> <button id="btnCancel" class="bnbutton {bnAction:131328}"
> type="button">
>
> Unfortunately, the plugin control the button and search the validation
> method 'bnAction'.
>
> 1. Why is the plugin control the button ? It's not an input element.
> 2. The pluggin hang because the validation method doesn't exist. What
> can I do ?
>
> I'll surely have the same problem with select.
>
> Thanks
>
> Gerard
>

Reply via email to