[jQuery] Re: [validate] Pb with button
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
[jQuery] Re: [validate] Pb with button
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 4:25 PM, cage31 [EMAIL PROTECTED] wrote: Hi, I use the validate plugin for my site but, in my form, there are some buttons with metadata. Something like this: button id=btnCancel class=bnbutton {bnAction:131328} type=button 1. the plugin control the button element. Why ? Theses are not input. 2. the plugin search the validate function bnAction and hang because it not exists. What can I do ? I'll have the same probleme with select tag. Thanks Gerard
[jQuery] Re: [validate] Pb with button
Thanks for your answer. With the meta-option all is fine.