[jQuery] [validate] removing or changing rules after validate() method

2008-04-03 Thread Marc R
So I have a field on the page that may or may not be required, depending on what the user wants to do. Once I need the field to be required, I aplly validate() on the form and its done. But, once I want to make the field not-required again, I run into problems. Here's some example code with mark

[jQuery] unbind especific function not working

2008-04-02 Thread Marc R
I'm kinda of a begginer on JQuery and I'm writing my first plugin. The plugin should handle form validation, in which I want to be able to enable or disable validation. The simplified version is like this: (function($) { $.fn.checkForm = function(action) { function validateForm() {