AnsweredAssumed Answered

Form confirmation message added to 1 form is preventing all other forms from redirecting as set

Question asked by Amanda Sanchez on Jan 23, 2019
Latest reply on Jan 28, 2019 by Sanford Whiteman

Hello! Most we are using Webform CMS with embedded Marketo forms. Most of our forms are redirecting to confirmation landing pages--but for a specific form, we were hoping to show a confirmation message on the same page. We followed the instructions recommended from this product thread and were successful in getting the message to show up on our desired form. However we're noticing in testing that once this was enabled other forms that were not specifically defined to have this message are not redirecting to their appropriate confirmation landing pages.


Has anyone else ran into this issue?


This was added to our form on the page (with the #s set to our unique IDs):

<div class="container">  
<script src="//"></script>  
<form id="mktoForm_####"></form>  
<script>MktoForms2.loadForm("//", "###-###-###", 1);</script>  
<div id="confirmation" aria-hidden="true" style="display:none;">  
<p>Thank you for registering! An email confirming all of the details is on its way!</p>  




And this to the Javascript section of our site:

<script type="text/javascript">  
MktoForms2.whenReady(function (form){  
form.onSuccess(function(vals, page){  
var confirm = document.getElementById('confirmation'); = 'inline-block';  
confirm.setAttribute('aria-hidden', false);  
return false;