revolunet / react-mailchimp-subscribe

React subscribe form for Mailchimp.
https://revolunet.github.io/react-mailchimp-subscribe/
245 stars 48 forks source link

Mailchimp automated response formatting #15

Open mikegyi opened 6 years ago

mikegyi commented 6 years ago

Is there any way we can change the response error messages so there's no zero and hyphen?

e.g. '0 - The domain portion of the email address is invalid (the portion after the @: .com)'

Where are these messages coming from? How do we format them?

screen shot 2018-06-03 at 22 42 47
revolunet commented 6 years ago

this messages comes directly from mailchimp. using the example in the readme you could replace the message if you want to

asjustis commented 4 years ago

Hm, this is weird, when I added Mailchimp form into HTML page, it seemed to display a message without the code. It is a bit weird if this is what comes as a message, but then again, we only need to do a simple trimming to work around the issue. Nice to find a response on the topic