Do not show error messages for existing email addresses and missing input fields
-
I am using the MailChimp short code in a widget. When the user subscribes with an address which is already in MailChimp`s, the plugin shows these “error” messages:
“Admin only message: there seems to be a problem with one of your merge fields. Maybe you forgot to add a required merge field to your form?
MailChimp error: [email protected] is already subscribed to list Newsletter Signup. Click here to update your profile.”
I am presenting only the email field (which is required), not the first name and last name input fields which exist in the database but are not required. Hence, the plugin should not show an error message.
But more importantly, the plugin should not show the second “error” message when the email address is already in the database. It should just invite the user to update its profile (as the original MailChimp plugin does).
Thank you!
- The topic ‘Do not show error messages for existing email addresses and missing input fields’ is closed to new replies.