Title: Testing erros in developer mode
Last modified: August 21, 2016

---

# Testing erros in developer mode

 *  ResolvedModerator [Peter Wilson](https://wordpress.org/support/users/peterwilsoncc/)
 * (@peterwilsoncc)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/testing-erros-in-developer-mode/)
 * Hello,
 * Is it possible to check error messages in developer mode?
 * The fields are set up using the filters at [https://gist.github.com/peterwilsoncc/9357932](https://gist.github.com/peterwilsoncc/9357932)
 * Cheers,
    Pete Wilson
 * [https://wordpress.org/plugins/mailchimp/](https://wordpress.org/plugins/mailchimp/)

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

 *  [mc_gabe](https://wordpress.org/support/users/mc_gabe/)
 * (@mc_gabe)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/testing-erros-in-developer-mode/#post-4674349)
 * Hey Peter,
 * Thanks for getting in touch. We’re definitely happy to help out, but we’d like
   a bit of clarification regarding your question. What in particular about the 
   error messages would you like to check or modify? What appears to be the issue
   you’re running into right now (if there is one)? Is there something indicating
   this might be an issue specifically with the developer mode over regular operation?
 * Once we understand your request a bit better, we’ll be happy to help however 
   we can!
 * Thanks,
    Gabe
 *  Moderator [Peter Wilson](https://wordpress.org/support/users/peterwilsoncc/)
 * (@peterwilsoncc)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/testing-erros-in-developer-mode/#post-4674389)
 * Hi,
 * The form I’m generating looks like [this](https://dl.dropboxusercontent.com/u/67362/t/mailchimp-dev-mode.jpg)–
   the grey text are `<label>`s.
 * If I leave the fields empty and hit submit, the form posts to localhost/#mc_signup
   without throwing any errors.
 * I’d like to test the errors:
    - invalid email address
    - empty required field
 * If dev mode skips error checking, it may need some work on the plugin.
 * Cheers,
    Pete
 *  [mc_dominic](https://wordpress.org/support/users/mc_dominic/)
 * (@mc_dominic)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/testing-erros-in-developer-mode/#post-4674418)
 * Hi Peter,
 * Thanks for responding. Currently, in the developer mode errors aren’t shown. 
   I will definitely pass on the idea of enabling error checking.
 * If you’re trying to style the error messages, that can be done in the css. Basically
   when an error is returned it’s added in the <div> with the class ‘updated’ inside
   the form directly above the fields. When an error occurs, a <span> is inserted
   in that div. It looks something like this:
 *     ```
       <span class="mc_error_msg">» You must fill in First Name.<br /></span>
       <span class="mc_error_msg">» That email address is invalid.<br /></span>
       ```
   
 * By default the color is set to red. But you can change it to another color or
   change the fonts by adding some css similar to this.
 *     ```
       #mc_signup .mc_error_msg {
         color: blue;
         font-family: serif;
       }
       ```
   
 * Let us know if you have any other questions.
 * -mc_d
 *  Moderator [Peter Wilson](https://wordpress.org/support/users/peterwilsoncc/)
 * (@peterwilsoncc)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/testing-erros-in-developer-mode/#post-4674433)
 * Thanks, to test the messages I’m running the following in console.
 * `jQuery('#mc_message').append('<span class="mc_error_msg">» You must fill in 
   Last Name.<br /></span>')`
 * Cheers,
    Pete

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

The topic ‘Testing erros in developer mode’ 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/)

 * 4 replies
 * 3 participants
 * Last reply from: [Peter Wilson](https://wordpress.org/support/users/peterwilsoncc/)
 * Last activity: [12 years, 3 months ago](https://wordpress.org/support/topic/testing-erros-in-developer-mode/#post-4674433)
 * Status: resolved