It wasn´t easy for me to do it, but maybe you find my code useful. It´s a process to submit all forms in the dom and after all of them are stored, redirect the user to another page.
formulario = $('form');
formulariolongitud = formulario.length;
i = 0;
formulario.each(function(index, value) {
$(this).ajaxSubmit({
async: false,//not sure i
success: function() {
i++;
if(i === formulario.length) {//this is the last one to submit
window.location.replace(whatever);
}
}
});
});