Give this a try:

var validator = $("#myform").validate(options);
$.extend(validator.settings, moreOptions);

Also take a look at the rules method:
http://docs.jquery.com/Plugins/Validation/rules

Jörn

On Mon, Jan 12, 2009 at 10:49 PM, phil <pkra...@gmail.com> wrote:
>
> Just Pinging this thread to see if anyone has a solution or
> workaround...
>
> On Jan 11, 8:06 pm, phil <pkra...@gmail.com> wrote:
>> I'm wondering if it's possible to call the validate method multiple
>> times toappendmoreoptionsto thevalidator.
>> I haven't tried it, but it seems like it will overwrite previousoptions.
>>
>> Example psuedo code:
>>
>> var formValidator = $("#myForm").validate(options1);
>> formValidator += $("#myForm)".validate(options2);
>>
>> The idea behind this is to build validators using existingoptions
>> without rewriting them all, and they may not be stored in the 
>> sameoptionsobject.
>>
>> If my above example is incorrect, what is the proper way?
>> Thanks

Reply via email to