I have a blog post in that previously i'm using marketo subscription form on submit i'm displaying a thank you message and it's working perfectly. Now I want to use the same form in footer as well so, I have placed same code in footer file with different success message. Other than blog pages the footer subscription form is working as expected along with thank you message (which is separate for blog post thank you message).
Now the problem is when I enter data in footer form and click submit, the thank you message is displaying in header form and wise versa.
And also in the header part the submit button is showing 2 times. Here is the screenshot link https://www.screencast.com/t/qjAOj611go.
Can any one help me to solve this.
Solved! Go to Solution.
We were having the same issue but Sanford's article helped us resolve it! I definitely recommend that approach.
Yep, here's the full blog post on the topic: https://blog.teknkl.com/multiple-forms-multiple-times/
Thanks for the reply
I tried by using that code, but it didn't worked for me. The form is displaying multiple times on both the places. Is there any thing I need to change?
Here are the screen shots
Code is working fine but, using that code I got these problems
1. I'm not able display individual thank you messages. Is there any way to solve this. As of now on clicking submit the submit value is displaying in the url like this
2. If i'm using this code it's working fine in blog post pages which have 2 times same form. But in other pages the form is not displaying (other than blog).
Is there any way to send the website URL in private? So that you can take a look what's happening in the site when I use that code?