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
  • 3947 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

Justin_Cooperm2
New Participant
February 4, 2016

Yes, it will.

Justin_Cooperm2
Justin_Cooperm2Accepted solution
New Participant
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
New Participant
February 4, 2016

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

SanfordWhiteman
New Participant
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