AnsweredAssumed Answered

Thank You message not appearing in after Form submission in iFrame

Question asked by 81b569991e3b701e5e07ed6ddd3cee7f48d58d7f on May 31, 2017
Latest reply on Jul 17, 2018 by Joe Barrett

I've crated a landing page with a Form inside of it.

I am showing the landing page+form via an iFrame in a popup .

The form shows up correctly and submits properly, but the Thank You message is never shown (still has the visibility=true inline style).


I have 3 layers on my landing page.

1. Header Graphic

2. Form

3. Thank You Message code:

<script src="//" type="text/javascript"></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. Check your email for details on your request.</strong></p></div>


Any clue as to why the Thank You message never appears?