I'm using the jQuery Validation and jQuery Forms plugins on my Submit
Form. I have the validation portion working correctly and the AJAX
submit working correctly. However, I would like a few things to happen
after the user has submitted information. I would possibly like to
show a simple loading overlay (in a shadowbox) so that the user knows
the form is working and I would like to redirect the user to another
page after the process is complete

So far this is what I have:

$("#submitForm").validate({
        submitHandler: function(form) {
                jQuery(form).ajaxSubmit();
        }
});

And in my form I have the Action directed to the PHP file that uploads
the user information. Where would I put events that occur after the
submit button is pressed? I tried to place something in my
submitHandler function but then the upload ceased to work properly.

Thanks,
Tim

Reply via email to