Form redirect notice in a pop-up

geordni
Level 1

Form redirect notice in a pop-up

Hello, I am using a Marketo form, which redirects customers to an external URL once it has been filled out. I would like to add a pop-up window or a redirect notice page that informs customers that they are being redirected + some additional notes.

Can anyone offer any help with this - not sure if script would help?

Thank you!

1 REPLY 1
SanfordWhiteman
Level 10 - Community Moderator

Re: Form redirect notice in a pop-up

Yes, you can do whatever you want in-between the successful submission and the redirect.

 

MktoForms2.whenReady(function(mktoForm){
  mktoForm.onSuccess(function(submittedValues,thankYouURL){
    // do whatever you want and eventually redirect to thankYouURL
    return false;
  });
});