[jQuery] Re: (validate) Can rules be turned off by setting them to false?
bump
On Nov 3, 11:30 pm, Mike817 <mike...@gmail.com> wrote:
> I'm trying to use a checkbox to turn a validation rule off or on. The
> rules I'm using is:
>
> MyField: {
> required: "#MyCheckbox:unchecked",
> number: "#MyCheckbox:unchecked"
>
> }
>
> The required rule turns off fine, but the number rule stays on. Is
> there anyway to make this work?
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home