Give this a try: var validator = $("#form1").validate({rules:...});
validator.settings.rules = { newrules... }; Jörn On Fri, Sep 19, 2008 at 2:49 AM, MACE <[EMAIL PROTECTED]> wrote: > > The problem: > > I have a form that changes its validation rules based on user input. I > have tried: > > $("#form1").validate({rules:....}); > > $("#form1").unbind("submit"); > > $("#form1").validate({rules:....}); // Doesn't work... > > His there a better way to this? Can you remove all the rules and add > new ones in? >