Hello, I’ve integrated a Mailchimp form into a one-page website using the MC4WP plugin. After submission, the page reloads but doesn’t scroll back to the form’s position. I’ve added a code snippet, but that doesn’t work either. Is this a known issue? Feel free to test it and register. Thank you and best regards, Hannes.
Hello @salilou,
Thanks for writing to us.
I tried to access your site URL, but it seems the website is not working at the moment. I would suggest you please let us know when the website is accessible.
Thanks
Hmm, it works for me.
Hey @salilou,
Another staff member here. Do we need to use VPN or get our IP whitelisted so we can view that site? Right now, I am still seeing the error.
- See the secure note below.
Thanks.
I don’t know what it is. Please send me your IP address, so I can whitelist it.
Hello @salilou,
It is not advisable to whitelist a specific IP since our support staff is located globally and uses different IP addresses. Please disable IP filtering so all team members on duty can access your site.
Thanks
Thank you, I solved it by myself with a code snippet.
// Dieser Code scrollt nach dem Absenden automatisch zum Formular
document.addEventListener(‘wpcf7mailsent’, function( event ) {
const element = document.getElementById(‘my-newsletter-section’);
if (element) {
element.scrollIntoView({ behavior: ‘smooth’ });
}
}, false);
This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.