Skip to main content
Feb 16, 2016 11:07 PM UTC
Solved

Thank You message upon form submit

My company is creating an opt-in area on our website with an embedded Marketo form with 4 fields and I am trying to find the best way not to redirect them to another LP upon form submission. Instead, I would like the form to be hidden upon submission and be replaced by a thank you message so they can continue browsing our website without being redirected.

Is there anyway to do this?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Accepted solution
Feb 17, 2016 5:56 PM UTC

I found the answer here: http://developers.marketo.com/blog/show-thank-you-message-without-a-follow-up-landing-page/

My issue was getting the code to cooperate.

Thank you to all

5 replies

SanfordWhiteman
User Group Leader
User Group Leader
Feb 16, 2016 11:30 PM UTC

So, so many posts on this.  Here's just one: How to hide a form after submit on a Marketo page

Translate
Accepted solution
Feb 17, 2016 5:56 PM UTC

I found the answer here: http://developers.marketo.com/blog/show-thank-you-message-without-a-follow-up-landing-page/

My issue was getting the code to cooperate.

Thank you to all

Translate
Oleg_RJL
Level 2
Jan 18, 2023 10:46 AM UTC

Hello comunity! that works great but my form have also a heading and subheading text. When i sumbit the marketo button my form is hide and thank you text is appear. But my heading and subheading text not hiding. Is there any way to hide also the heading and subheading text with form and show only thank you text?

Translate
Darshil_Shah1
Adobe Champion, Community Advisor, UG Leader
Adobe Champion, Community Advisor, UG Leader
Jan 18, 2023 12:33 PM UTC

Just set the display property to none for heading and sub-heading elements in the form.onSuccess method and you should be good.

Translate