How to hide a form after submit on a Marketo page | Community
Skip to main content
February 4, 2016
Solved

How to hide a form after submit on a Marketo page

  • February 4, 2016
  • 3 replies
  • 3950 views

Hi all,

I am creating an "Unsubscribe Reasons" form on my "Unsubscribe Thank You" page.  If (and when) someone submits that form, I'd like to hide it, rather than taking them to yet another thank you page. 

I'm sure someone has created a straightforward script to do this that I can put in custom HTML on the page. If so, can you share?

Thanks in advance

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Justin_Cooperm2

Look at example 1:

Forms 2.0 » Marketo Developers

3 replies

SanfordWhiteman
Level 10
February 4, 2016

Asked and answered many times... did you search?

February 4, 2016

I did search, using multiple different search terms - but was unable to find what I needed

Justin_Cooperm2
Justin_Cooperm2Accepted solution
Level 10
February 4, 2016
February 4, 2016

Thank you - it seems this example is for a Marketo form embedded on non-Marketo page - does it also work on a Marketo page?

Kenny_Elkington
Adobe Employee
Adobe Employee
February 4, 2016

yes, but you'll want to use whenReady or getForm instead of the loadForm method.

Justin_Cooperm2
Level 10
February 4, 2016

Yes, it will.