Title: [Plugin: Contact Form 7] HTML Validation Errors
Last modified: August 19, 2016

---

# [Plugin: Contact Form 7] HTML Validation Errors

 *  [halwp](https://wordpress.org/support/users/halwp/)
 * (@halwp)
 * [16 years, 4 months ago](https://wordpress.org/support/topic/plugin-contact-form-7-html-validation-errors/)
 * I have noticed since upgrading to the latest version of Contact Form 7 that it
   generates a lot of invalid HTML.
 *     ```
       an attribute value must be a literal unless it contains only name characters
       <p><label for=\"your-name\"><em>Name<span> *</span></em></label>
   
       character "\" is not allowed in the value of attribute "for"
       <p><label for=\"your-name\"><em>Name<span> *</span></em></label>
       ```
   
 * Please can you tell me, is anyone else seeing this?
 * Thank you in advance
    Hal

Viewing 1 replies (of 1 total)

 *  Thread Starter [halwp](https://wordpress.org/support/users/halwp/)
 * (@halwp)
 * [16 years, 4 months ago](https://wordpress.org/support/topic/plugin-contact-form-7-html-validation-errors/#post-1348910)
 * OK, there must have been a change in one of the Contact Form 7 upgrades that 
   escapes quotes used in the form configuration. Hence, now I can change <label
   for=\”your-name\”> to <label for=”your-name”> and it works without problems.
 * Thanks for this!
    Hal

Viewing 1 replies (of 1 total)

The topic ‘[Plugin: Contact Form 7] HTML Validation Errors’ is closed to new replies.

 * 1 reply
 * 1 participant
 * Last reply from: [halwp](https://wordpress.org/support/users/halwp/)
 * Last activity: [16 years, 4 months ago](https://wordpress.org/support/topic/plugin-contact-form-7-html-validation-errors/#post-1348910)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
