Auto scroll ‘__return_false’ , doesn’t work.
-
Hi,
I have a problem regarding Mailchimp (v 4.2) and WordPress (v 4.9.5) – both latest versions.
When I insert the email on the input box and click on submit button, the page reloads and scrolls down so I can’t see the feedback message.
I browsed for a solution and found the following:
add_filter( ‘mc4wp_form_auto_scroll’, ‘__return_false’ );
I pasted it into the child theme’s functions.php, but it still doesn’t work. In this case, upon clicking submit, the page instead reloads to the top.
Can you please assist?
Thanks
PS.: Example of the desired behaviour (focus) https://imgur.com/zipAXUw.png
- This topic was modified 6 years, 7 months ago by .
- This topic was modified 6 years, 7 months ago by .
- This topic was modified 6 years, 7 months ago by .
- This topic was modified 6 years, 7 months ago by .
- This topic was modified 6 years, 7 months ago by .
The page I need help with: [log in to see the link]
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Auto scroll ‘__return_false’ , doesn’t work.’ is closed to new replies.