• 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

    (@halwp)

    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.