Adding a class of "cancel" to a submit button disables the validation for that button.
Selective validation is a bit more involved. Take a look at the source of this demo for a start: http://jquery.bassistance.de/validate/demo/login/ Jörn On Fri, Mar 6, 2009 at 6:52 PM, Dan <ddor...@ddnet.us> wrote: > > I'm using ASP.NET, jquery and this > http://bassistance.de/jquery-plugins/jquery-plugin-validation/ > validation plugin. I have several asp:Button objects on my page. I > have the validation working almost the way I want. > > I have several buttons that cause the form to postback to the server > and I only want form validation to occur for 2 of them. Is there an > easy way to ignore validation if the others are clicked and just allow > the form to post? > > I also have several standard html <intput type="button"... on my page > that perform tasks on the client, is there an easy way to have the > plugin validate certain rules for those button clicks (different > validation than on submit) This is less critical as I'm already > validating manually with if's and alerts, but I'd like to change it to > behave the way the rest of the page does. >