Title: contact form validation error
Last modified: August 30, 2016

---

# contact form validation error

 *  Resolved [ITtechgirl](https://wordpress.org/support/users/ittechgirl/)
 * (@ittechgirl)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/contact-form-validation-error/)
 * I am receiving this error no matter what I do to the form:
    **Validation errors
   occurred. Please confirm the fields and submit it again.**
 * this is the form:
 *     ```
       <b>Lasa-ne cateva informatii de contact</b>
       <table>
       <tr><td>Numele tau*: </td><td>[text* size:30 max-length:100]</td></tr>
       <tr><td>Numele firmei*:</td><td>[text* size:30]</td></tr>
       <tr><td>CUI firma*:</td><td>[text* size:30]</td></tr>
       <tr><td>Adresa de e-mail*: </td><td>[email* size:30 max-lenght:100]</td></tr>
       </table></br>
       <b>Avem nevoie de cateva informatii despre produs</b>
       <table>
       <table>
       <tr><td>Incarca desenul tehnic </br>(formate:.png, .jpeg, .doc sau .pdf):</td><td>[file fisier limit:5mb filetypes:png|jpg|pdf|doc]</td></tr>
       <tr><td>Instructiuni suplimentare/observatii:</td><td>[textarea your-message 20x2]</td></tr>
       <tr><td>
           <table><tr><td colspan="2" style="text-align:center">Introdu codul de verificare</td></tr>
               <tr><td align="center">[captchac size:l captcha-1]</td><td align="center">[captchar captcha-1 10/20]</td></tr>
           </table>
       </td>
           <td align="center">[submit "Trimite solicitarea"]</td>
           </tr>
       <tr><td colspan="2"></br></td></tr>
       <tr><td colspan="2" style="text-align:center"><b>Nota: Toate campurile marcate cu * sunt obligatorii</b></td></tr>
           </table>
       ```
   
 * I use WP 4.3 and have woocommerce activated.
    Also, I created a new form and 
   it works. So… I think something is bad in my code… Can someone please tell me
   what could be the error? Thanks
 * [https://wordpress.org/plugins/contact-form-7/](https://wordpress.org/plugins/contact-form-7/)

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

 *  Thread Starter [ITtechgirl](https://wordpress.org/support/users/ittechgirl/)
 * (@ittechgirl)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/contact-form-validation-error/#post-6547024)
 * I tested with another form (auto-generated)… apparently that one works, though
   no email arrives to my inbox.
    So I adjusted the code to what is below but I 
   still have the validation error: **Your entered code is incorrect.** + **Validation
   errors occurred. Please confirm the fields and submit it again.**
 *     ```
       <b>Lasa-ne cateva informatii de contact</b>
       <table>
       <tr><td>Numele tau*: </td><td>[text* your-name size:30 max-length:100]</td></tr>
       <tr><td>Numele firmei*:</td><td>[text* numele-firmei size:30]</td></tr>
       <tr><td>CUI firma*:</td><td>[text* CUI-firma size:30]</td></tr>
       <tr><td>Numar de telefon*:</td><td>[text* telefon size:30]</td></tr>
       <tr><td>Adresa de e-mail*: </td><td>[email* your-email size:30 max-lenght:100]</td></tr>
       </table></br>
       <b>Avem nevoie de cateva informatii despre produs</b>
       <table>
       <table>
       <tr><td>Incarca desenul tehnic </br>(formate:.png, .jpeg, .doc sau .pdf):</td><td>[file fisier limit:5mb filetypes:png|jpg|pdf|doc]</td></tr>
       <tr><td>Instructiuni suplimentare/observatii:</td><td>[textarea your-message 20x2]</td></tr>
       <tr><td>
           <table><tr><td colspan="2" style="text-align:center">Introdu codul de verificare</td></tr>
               <tr><td align="center">[captchac captcha-1 size:l]</td><td align="center">[captchar captcha-1 10/20]</td></tr>
           </table>
       </td>
           <td align="center">[submit "Trimite solicitarea"]</td>
           </tr>
       <tr><td colspan="2"></br></td></tr>
       <tr><td colspan="2" style="text-align:center"><b>Nota: Toate campurile marcate cu * sunt obligatorii</b></td></tr>
           </table>
       ```
   
 *  Thread Starter [ITtechgirl](https://wordpress.org/support/users/ittechgirl/)
 * (@ittechgirl)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/contact-form-validation-error/#post-6547056)
 * i fixed it. code was bad.
    here is the good code.
 *     ```
       <b>Lasa-ne cateva informatii de contact</b>
       <table>
       <tr><td>Numele tau*: </td><td>[text* your-name]</td></tr>
       <tr><td>Numele firmei*:</td><td>[text* numele-firmei]</td></tr>
       <tr><td>CUI firma*:</td><td>[text* CUI-firma]</td></tr>
       <tr><td>Numar de telefon*:</td><td>[text* telefon]</td></tr>
       <tr><td>Adresa de e-mail*: </td><td>[email* your-email]</td></tr>
       </table></br>
       <b>Avem nevoie de cateva informatii despre produs</b>
       <table>
       <table>
       <tr><td>Incarca desenul tehnic </br>(formate:.png, .jpeg, .doc sau .pdf):</td><td>[file fisier limit:5mb filetypes:png|jpg|pdf|doc]</td></tr>
       <tr><td>Instructiuni suplimentare/observatii:</td><td>[textarea your-message 20x2]</td></tr>
       <tr><td>
           <table><tr><td colspan="2" style="text-align:center">Introdu codul de verificare</td></tr>
               <tr><td align="center">[captchac captcha-1 size:l]</td><td align="center">[captchar captcha-1 4/4]</td></tr>
           </table>
       </td>
           <td align="center">[submit "Trimite solicitarea >>"]</td>
           </tr>
       <tr><td colspan="2"></br></td></tr>
       <tr><td colspan="2" style="text-align:center"><b>Nota: Toate campurile marcate cu * sunt obligatorii</b></td></tr>
           </table>
       ```
   
 * Now I only have to figure out why on the same hosting plan, from 2 different 
   websites one the form works and sends email. and the other no.

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

The topic ‘contact form validation error’ 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

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

 * 2 replies
 * 1 participant
 * Last reply from: [ITtechgirl](https://wordpress.org/support/users/ittechgirl/)
 * Last activity: [10 years, 9 months ago](https://wordpress.org/support/topic/contact-form-validation-error/#post-6547056)
 * Status: resolved