$('#myform').form('submit',{ url: url, onSubmit: function(){ return $(this).form('validate'); }, success: function(result){ } });