Solved! Go to Solution.
Hi Eric,
There is an example of the JavaScript you will need to use in order to achieve this on the Marketo Developers site.
Example 1 - Hide the form after successful submission. Does not take the visitor to the follow up p...
Hi Eric,
There is an example of the JavaScript you will need to use in order to achieve this on the Marketo Developers site.
Example 1 - Hide the form after successful submission. Does not take the visitor to the follow up p...
thanks! exactly what I was looking for.
Valerie -
The script works for me, but I need a little more. I need for a confirmation to be revealed when the form hides. The form is in a table cell. I tried making a GIF saying "Thank You" as the cell's background image, but it's not covered by the form. The GIF is visible along with the form. How can I display a confirmation where the form was?
Thanks!
Jim, sounds like ultimately a CSS issue. If you want to reveal on hide, you have to get positioning and z-order right. Pleas post a link to your page.
Hi Sanford -
Because the contest started yesterday I had to go with separate form and confirmation pages. I am interested in a resolution, and appreciate your looking into this so I posted the important portion of the code here. It's a test form, so if you need to submit it, please feel free.
Thanks, and happy holidays!
Jim
For that particular design, you were just missing a background color on the form:
.mktoForm {
background-color: white;
}
(+ match the TD background color)
Absolutely worked! Tip of the hat to you, Sanford.
A copy, just in case that example ever dies: Marketo Forms 2.0 Example 1 - JSFiddle