Title: Help needed to display the missing or incorrect fields after sending the form
Last modified: May 9, 2020

---

# Help needed to display the missing or incorrect fields after sending the form

 *  [silviapinjuh](https://wordpress.org/support/users/silviapinjuh/)
 * (@silviapinjuh)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/css-code-needed-to-display-the-missing-or-incorrect-fields/)
 * Hello everybody,
 * I would like to mark the fields in red in my contact form that have been filled
   out incorrectly or not at all after sending the form. So that the person knows
   which field is not correct or missing. How do I do that? Can anyone help me?
 * Many thanks for your support.
 * Kind regards Silvia
    -  This topic was modified 6 years, 1 month ago by [silviapinjuh](https://wordpress.org/support/users/silviapinjuh/).
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fcss-code-needed-to-display-the-missing-or-incorrect-fields%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  [gwp1971](https://wordpress.org/support/users/gwp1971/)
 * (@gwp1971)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/css-code-needed-to-display-the-missing-or-incorrect-fields/#post-12807594)
 * Do you mean you want them to be “required” fields?, so the visitor MUST fill 
   them in ?
 * if so, then add an asterisk just after the word “select”
    from this `Do you like
   cheese? [select cheese first_as_label "Please choose.." "Yes" "No"]` to this `
   Do you like cheese? [select* cheese first_as_label "Please choose.." "Yes" "No"]`
 * or a text box reply would be
    `Your name:* [text* your-name]` this makes the 
   field a required one and must be answered
 *  Thread Starter [silviapinjuh](https://wordpress.org/support/users/silviapinjuh/)
 * (@silviapinjuh)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/css-code-needed-to-display-the-missing-or-incorrect-fields/#post-12807679)
 * No. I mean if a customer fills out the contact form with all fields and then 
   clicks send, an error message will only appear under the send button if a required
   field is not filled out or the e-mail address is incorrect.
 * It would be nice if the field where the error exists would be marked red, so 
   the customer knows which field is wrong. For example he forgets the @ in the 
   field Email and presses send. Then it would be nice if the email field would 
   turn red, so that he knows that he has entered something wrong.
 * Do you know what I mean?
 * Kind regards Silvia
 *  [gwp1971](https://wordpress.org/support/users/gwp1971/)
 * (@gwp1971)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/css-code-needed-to-display-the-missing-or-incorrect-fields/#post-12807723)
 * It does that on my form ?
    [see image here](https://ibb.co/2yRKXwm) i changed
   the colour of the rror text via the CSS.
 * have you looked on the form “messages” tab, next to the mail tab ?
 *  Thread Starter [silviapinjuh](https://wordpress.org/support/users/silviapinjuh/)
 * (@silviapinjuh)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/css-code-needed-to-display-the-missing-or-incorrect-fields/#post-12807890)
 * Yes I want to have it like on your form…
    You can see it on here…
 * [https://glibo-consulting.com/2020/05/09/automatisch-gespeicherter-entwurf/](https://glibo-consulting.com/2020/05/09/automatisch-gespeicherter-entwurf/)
 * there is just an error message under the send button and not under the field 
   which is wrong or not filled out….
 * In the mail tab I can just set up the error messages under the button…
 *  [gwp1971](https://wordpress.org/support/users/gwp1971/)
 * (@gwp1971)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/css-code-needed-to-display-the-missing-or-incorrect-fields/#post-12807942)
 * are you using the correct form tags for those fields.
    try a test form using 
   just this..
 *     ```
       Your name:* [text* your-name]
       Your email address:* [email* your-email]
       Your Mobile Number:*[tel* tel-746]
       Your Date of Birth: [text homedob "DD/MM/YYYY"]
       Your House No:* [text* homehseno]
       Your Postcode:*[text* Postcode]
       ```
   
 * see if you get error messages under each one
 *  Thread Starter [silviapinjuh](https://wordpress.org/support/users/silviapinjuh/)
 * (@silviapinjuh)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/css-code-needed-to-display-the-missing-or-incorrect-fields/#post-12807979)
 * The form tags are right, but I don´t still get error messages under each field…
   that´s really tricky…

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

The topic ‘Help needed to display the missing or incorrect fields after sending 
the form’ 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/)

 * 6 replies
 * 2 participants
 * Last reply from: [silviapinjuh](https://wordpress.org/support/users/silviapinjuh/)
 * Last activity: [6 years, 1 month ago](https://wordpress.org/support/topic/css-code-needed-to-display-the-missing-or-incorrect-fields/#post-12807979)
 * Status: not resolved