Skip to main content
Level 1
Jun 23, 2021 1:43 PM UTC
Solved

Embed a form in a banner

Hi,

 

I would like to insert a form in a banner on the home page!

 

But after I submitted this form the banner disappears and on the homepage, there is the box blank

What I can do in order to be always visible?

Thanks

 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
SanfordWhiteman
SanfordWhitemanAccepted solution
User Group Leader
Jun 23, 2021 10:09 PM UTC

You must have added custom JS already that is causing this.

 

The <form> element, or its wrapper container, won't be emptied on form success by default! That has to be custom.

 

Rather, Marketo's default behavior is to refresh the page entirely on form success.

1 reply

SanfordWhiteman
User Group Leader
SanfordWhitemanUser Group LeaderAccepted solution
User Group Leader
Jun 23, 2021 10:09 PM UTC

You must have added custom JS already that is causing this.

 

The <form> element, or its wrapper container, won't be emptied on form success by default! That has to be custom.

 

Rather, Marketo's default behavior is to refresh the page entirely on form success.

Translate