Hi there,
This is currently not possible but it’s a great feature suggestion. I will add a way to do this to the plugin and let you know!
Thread Starter
ja152
(@jdj)
Thanks Danny, that would be great. 🙂
Hi jdj,
From version 2.1 and upwards you can use the mc4wp_form_message_position filter to set the position of the error & success messages.
function myprefix_mc4wp_form_message_position( $position ) {
return 'before';
}
add_filter( 'mc4wp_form_message_position', 'myprefix_mc4wp_form_message_position' );
Hope that helps!
Thread Starter
ja152
(@jdj)
Hi Danny,
Thanks for helping.
What I really meant was I’d like the error & success messages position to be just before the submit button. When I add the script to the functions.php, the messages are moved to the absolute top of the form. E.g.:
– messages
– Custom text
– input field
– input field
– input field
– button
What I meant was:
– Custom text
– input field
– input field
– input field
– messages
-button
Is that possible with the position filter?
Ex. In Contact Form 7 you can use a “[response]” tag in the form builder to position the messages whereever you want. Maybe the same kind of feature could be built into your plugin if you like the suggestion.
Hi jdj,
I see what you mean and that’s totally doable. Will probably take the same approach as CF7 did and use a [response] tag.
Please keep your eye out for future updates where this is implemented in the plugin. 🙂
Thanks again!
As of version 2.1.1 of the MailChimp for WordPress plugin, you can use the following tag in your form mark-up to render the form response on a custom position.
{response}
Hope that helps, thanks again for the great suggestion!
Thread Starter
ja152
(@jdj)
Thanks Danny, works great! 🙂