Title: Show message from invalidFields
Last modified: December 12, 2018

---

# Show message from invalidFields

 *  [ipimen](https://wordpress.org/support/users/ipimen/)
 * (@ipimen)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/show-message-from-invalidfields/)
 * I have made some modifications trying to validate that a submitted email hasn’t
   been submitted before, this part is working fine. What I haven’t been able to
   manage is the error message that is displayed to the user. No matter what I do
   the message that is displayed is the default message associated with the “validation_failed”
   status. The message that i always get is “One or more fields have an error. Please
   check and try again.” But looking at the Chrome Console I can see the message
   that I want to display:
 * {into: “#wpcf7-f187-p51-o1”, status: “validation_failed”,…}
    into: “#wpcf7-f187-
   p51-o1” invalidFields: [{into: “span.wpcf7-form-control-wrap.email”,…}] 0: {into:“
   span.wpcf7-form-control-wrap.email”,…} idref: null into: “span.wpcf7-form-control-
   wrap.email” message: **“El correo ya se encuentra en nuestra base de datos.”**
   message: “Uno o más campos tienen un error. Por favor revisa e inténtalo de nuevo.”
   status: “validation_failed”
 * I need to display the one on the “0” index **“El correo ya se encuentra en nuestra
   base de datos”**, but I’m getting the one on the upper level of the array. How
   can I show the other one?
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fshow-message-from-invalidfields%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Plugin Author [Takayuki Miyoshi](https://wordpress.org/support/users/takayukister/)
 * (@takayukister)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/show-message-from-invalidfields/#post-10979732)
 * Try switching to the default theme and deactivating all other plugins.

Viewing 1 replies (of 1 total)

The topic ‘Show message from invalidFields’ is closed to new replies.

 * ![](https://ps.w.org/contact-form-7/assets/icon.svg?rev=2339255)
 * [Contact Form 7](https://wordpress.org/plugins/contact-form-7/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/contact-form-7/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/contact-form-7/)
 * [Active Topics](https://wordpress.org/support/plugin/contact-form-7/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/contact-form-7/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/contact-form-7/reviews/)

## Tags

 * [themeforest](https://wordpress.org/support/topic-tag/themeforest/)

 * 1 reply
 * 2 participants
 * Last reply from: [Takayuki Miyoshi](https://wordpress.org/support/users/takayukister/)
 * Last activity: [7 years, 5 months ago](https://wordpress.org/support/topic/show-message-from-invalidfields/#post-10979732)
 * Status: not resolved