Re: Stop Marketo Form Submission Refresh

Anonymous
Not applicable

Stop Marketo Form Submission Refresh

Is there currently a way to stop one of the Form 2.0 forms from refreshing the page while still successfully submitting this data using the embed code?

2 REPLIES 2
Anonymous
Not applicable

Re: Stop Marketo Form Submission Refresh

Not out of the box.  By Default either refresh the page, send to another LP, send to another Web page

SanfordWhiteman
Level 10 - Community Moderator

Re: Stop Marketo Form Submission Refresh

MktoForms2.whenReady(function(form){

  form.onSuccess(function(vals,thanksURL){

    return false;

  });

});

This stops the refresh.

What else you want to do with the form element is up to you (remove it, replace it with text, etc.).