Thank You message upon form submit | Community
Skip to main content
February 16, 2016
Solved

Thank You message upon form submit

  • February 16, 2016
  • 2 replies
  • 5586 views

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.
Best answer by

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

2 replies

SanfordWhiteman
Level 10
February 16, 2016

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

Accepted solution
February 17, 2016

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

Oleg_RJL
Level 2
January 18, 2023

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?

Darshil_Shah1
Community Advisor and Adobe Champion
Community Advisor and Adobe Champion
January 18, 2023

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