Title: Submit Events
Last modified: August 20, 2016

---

# Submit Events

 *  [Tonio](https://wordpress.org/support/users/anthonybruno/)
 * (@anthonybruno)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/submit-events/)
 * 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.
 * [http://api.jquery.com/category/ajax/global-ajax-event-handlers](http://api.jquery.com/category/ajax/global-ajax-event-handlers)
 * [http://wordpress.org/extend/plugins/mailchimp/](http://wordpress.org/extend/plugins/mailchimp/)

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Thread Starter [Tonio](https://wordpress.org/support/users/anthonybruno/)
 * (@anthonybruno)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/submit-events/#post-3507944)
 * Looks like this plugin is actually using the jQuery Form Plugin.
 * Any way to globally monitor its events?
 * [http://malsup.com/jquery/form](http://malsup.com/jquery/form)
 *  [mc_tak](https://wordpress.org/support/users/mc_tak/)
 * (@mc_tak)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/submit-events/#post-3508102)
 * 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!
 * -tk
 *  Thread Starter [Tonio](https://wordpress.org/support/users/anthonybruno/)
 * (@anthonybruno)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/submit-events/#post-3508159)
 * 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
 * -Anthony
 *  [mc_tak](https://wordpress.org/support/users/mc_tak/)
 * (@mc_tak)
 * [13 years ago](https://wordpress.org/support/topic/submit-events/#post-3508315)
 * 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:
 * [http://wordpress.org/extend/plugins/mailchimp/faq/](http://wordpress.org/extend/plugins/mailchimp/faq/)
 * 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!

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Submit Events’ is closed to new replies.

 * ![](https://ps.w.org/mailchimp/assets/icon.svg?rev=3156997)
 * [Mailchimp List Subscribe Form](https://wordpress.org/plugins/mailchimp/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/mailchimp/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/mailchimp/)
 * [Active Topics](https://wordpress.org/support/plugin/mailchimp/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/mailchimp/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/mailchimp/reviews/)

## Tags

 * [events](https://wordpress.org/support/topic-tag/events/)
 * [form](https://wordpress.org/support/topic-tag/form/)
 * [submit](https://wordpress.org/support/topic-tag/submit/)

 * 4 replies
 * 2 participants
 * Last reply from: [mc_tak](https://wordpress.org/support/users/mc_tak/)
 * Last activity: [13 years ago](https://wordpress.org/support/topic/submit-events/#post-3508315)
 * Status: not resolved