AnsweredAssumed Answered

Stay on page Thank you snippet does not show up on guide landing page

Question asked by Eva Yu on May 17, 2018
Latest reply on May 17, 2018 by Eva Yu

I followed the instructions and created a snippet <div> on the template.

Created a snippet and pasted the code into it:

<script src="//"></script>


MktoForms2.whenReady(function (form){

//Add an onSuccess handler

form.onSuccess(function(values, followUpUrl){

   //get the form's jQuery element and hide it


document.getElementById('confirmform').style.visibility = 'visible';

   //return false to prevent the submission handler from taking the lead to the follow up url.

   return false;




<div id="confirmform" style="visibility:hidden;"><p><strong>Thank you. Our product expert will be in contact shortly!</strong></p></div>


Then edit the snippet on the landing page to refer to this snippet.

But it doesn't work. What did I miss?