What I would like to do is have 2 buttons to submit a single form. One button is to save the form for editing later the other is to process it.
With...
$("#saveform_ns").click(function(){
$('form#form_main').attr({action:"http://path/to/save.php"});
$('form#form_main').submit(); })
I can get the submit button to work and the above button to work.
The issue I am having is that I have jquery validation in the form and whenever I hit the SAVE button it wants to validate the form (which I dont want it to as I want it to save at any point in the form).
Does anyone know of a quick way to bypass validation code in jquery. Say with using an ajax call and form submit or someway to say if the SAVE button is clicked ignore the validation plugin.
Thanks for any help.