Questions tagged [react-mailchimp-subscribe]

4 questions
0
votes
0 answers

Mailchimp - success message to clear the success message after the user has submitted the form in React

Im trying to use the Mailchimp npm package and it works as intended. However, Im trying to clear the error or success message once a user clicked 'Subscribe' as currently it doesn't go away until the page is refreshed. I dont want to refresh the…
Val
  • 21
  • 2
0
votes
0 answers

MailChimp campaigns.create(mailchimp)

const campaign = { type: 'regular', recipients: { list_id: '11a07e4453' }, settings: { subject_line: 'New Blog Post: TITLE', from_name:…
0
votes
1 answer

Working on Mailchimp ReactJS Subscribe Form

The first. In order to begin doing the frontend code, I have created my form element; then watched a YouTube video to learn how to use ReactJS with Mailchimp. The video was followed correctly, but the structure had to be changed. The video is…
user4584918
0
votes
0 answers

onValidated is not a function when trying to subscribe user to mailchimp

I am using "react-mailchimp-subscribe" to integrate with MailChimp and enable users to signup to a mailchimp mailing list upon completing an submitting my form. However, I get the error: Uncaught TypeError: onValidated is not a function When I…
Emm
  • 2,367
  • 3
  • 24
  • 50