SOLVED

How to hide a form after submit on a Marketo page

Go to solution
Anonymous
Not applicable

How to hide a form after submit on a Marketo page

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

Tags (1)
1 ACCEPTED SOLUTION

Accepted Solutions
Justin_Cooperm2
Level 10

Re: How to hide a form after submit on a Marketo page

6 REPLIES 6
SanfordWhiteman
Level 10 - Community Moderator

Re: How to hide a form after submit on a Marketo page

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

Anonymous
Not applicable

Re: How to hide a form after submit on a Marketo page

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

Justin_Cooperm2
Level 10

Re: How to hide a form after submit on a Marketo page

Anonymous
Not applicable

Re: How to hide a form after submit on a Marketo page

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
Marketo Employee

Re: How to hide a form after submit on a Marketo page

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

Justin_Cooperm2
Level 10

Re: How to hide a form after submit on a Marketo page

Yes, it will.