SOLVED

How to hide a form after submit on a Marketo page

Go to solution
Anonymous
Not applicable

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
Justin_Cooperm2
Level 10
6 REPLIES 6
Justin_Cooperm2
Level 10

Yes, it will.

Justin_Cooperm2
Level 10
Anonymous
Not applicable

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

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

SanfordWhiteman
Level 10 - Community Moderator

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

Anonymous
Not applicable

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