Stop Marketo Form Submission Refresh | Community
Skip to main content
December 8, 2015
Question

Stop Marketo Form Submission Refresh

  • December 8, 2015
  • 2 replies
  • 3733 views

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?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

2 replies

December 8, 2015

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

SanfordWhiteman
Level 10
December 8, 2015

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.).