I have a submit button on a form, and if users click on it, the form will call a script to generate pdf and display the pdf as a popup to the user.
But I want the original page (the form with submit button) redirect to another page after the pop-up gets displayed or after users close the popup window.
I have tried adding
Code: Select all
form.gotoForm('RedirectPage');
Code: Select all
form.generatePdf(opts);
I have also tried adding JQuery to my submit button. It is still not working.
Please advise..
regards,
Edwina