MailChimp List Subscribe Form
Submit Events (5 posts)

  1. Tonio
    Posted 3 years ago #

    Curious if anyone knew if I could somehow write custom events within jQuery for the form submission.

    Looking into mailchimp.js I noticed that there was a success callback that fires the mc_success function. Any ideas of how to access this without editing the plugin files?

    I tried using global ajax handlers from jQuery I couldn't get them working.



  2. Tonio
    Posted 3 years ago #

    Looks like this plugin is actually using the jQuery Form Plugin.

    Any way to globally monitor its events?


  3. mc_tak
    Posted 3 years ago #

    Hey anthony,

    thanks for writing in. would you be able to elaborate a bit on the intended interaction you're looking for in the sign up process? this'll help us narrow in on the issue a bit more. thanks!


  4. Tonio
    Posted 3 years ago #

    It would be nice to have the ability to fire a jQuery function based on the responses such as:

    • Submit Success
    • Duplicate address entry
    • Invalid email address
    • General Error


  5. mc_tak
    Posted 3 years ago #

    Hey Anthony,

    While adding or editing the code of the plugin goes a bit outside the range of support that we provide on this forum, I'd be happy to provide my recommendations to get you pointed in the right direction.

    If you're looking to only edit the content of the messages that you describe above (i.e. change the submit success text to a unique custom message), you can do this by editing the .PO file in your plugin's PO directory. You can use a program like POedit to do just that, then generate a new .MO file, and upload both into your "po" directory. And this will allow you to set your own custom messages. This page walks through it as well:


    If you're looking to implement more advanced jQuery functionality into the plugin's processes, your best bet would be to take a look at the plugin code to see what can be added or worked around the current existing code. I'm afraid we don't have any documentation that directly addresses adding custom handlers, but it's something that I can pass along to our developers to provide support for in a future release. The plugin code can be viewed by going to WP Admin > Plugins > Editor > MailChimp.

    If you have any further questions, let us know!

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • MailChimp List Subscribe Form
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic