I've been having trouble with this and looked through a lot of past answers to this question.
Basically I would like to redirect a user to a different page after a successful submit of the form they are completing, and preferably after seeing a success message.
Here's where I think I have to add the redirect, but everything i've tried either breaks the submit and nothing hits my database, or nothing happens.
if (jQueryRoi('#formRoiWebCapture').valid()) {
SaveCaptureForm(ui);
} else {
document.getElementById('buttonSaveFormROI').disabled=false;
}
Thank you so much for any help!