[jQuery] Re: [jquery validate] Validating disabled inputs

2008-07-01 Thread oscarml
Ok, let me explain what I'm aiming. I have a form with 4 inputs: 2 of them are normal ones: enabled so user can write on them 2 other: disabled because the value is gonna be inside is not typed by the user directly, is filled from a grid placed in a modal window. So, when user double click in

[jQuery] Re: [jquery validate] Validating disabled inputs

2008-06-30 Thread Jörn Zaefferer
Disabled inputs aren't validated because they are disabled. 99% of the time, disabled elements must be ignored during validation, so that is what the plugin does. Jörn On Mon, Jun 30, 2008 at 8:21 PM, oscarml [EMAIL PROTECTED] wrote: Hi, I have a problem with disabled input when I try to

[jQuery] Re: [jquery validate] Validating disabled inputs

2008-06-30 Thread Theodore Ni
If you really want to validate all disabled form fields also, the relevant line in the plugin is .not(:submit, :reset, [disabled]) to which you can add or remove functionality. Again, as Jörn has said, usually disabled elements are not meant to be validated, so make sure it's what you really