Stop Marketo Form Submission Refresh

Anonymous
Not applicable

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
SanfordWhiteman
Level 10 - Community Moderator

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

Anonymous
Not applicable

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