What’s the validation error? I haven’t noticed any invalid markup generated by this plugin.
Hi Esmi
Thank you for your message. Here is the error from the W3C.
Error Line 446, Column 57: document type does not allow element “div” here; missing one of “object”, “ins”, “del”, “map”, “button” start-tag
<p><div class=”wpcf7-response-output wpcf7-display-none”></div></p>
Position where error dedected: ……none”></div></p>….. = this character: “>”
The mentioned element is not allowed to appear in the context in which you’ve placed it; the other mentioned elements are the only ones that are both allowed there and can contain the element mentioned. This might mean that you need a containing element, or possibly that you’ve forgotten to close a previous element.
One possible cause for this message is that you have attempted to put a block-level element (such as “<p>” or “<table>”) inside an inline element (such as ““, “<span>”, or “<font>”).
Best, Michael
Have you placed the CF7 shortcode inside <p></p> tags in your post/page?
yes, but on many pages/posts. The error would thus appear more than once in W3C. But if we check our website, only 1 (last of 60..) is shown. Have send you message on your website.
Best, Michael
Don’t place the CF7 shortcode inside any HTML tag. It’s completely standalone & self-contained.
I’m having the same problem. I did not place the shortcode inside HTML tags and I get the following validation error:
No p element in scope but a p end tag seen.
<p><div class=”wpcf7-response-output wpcf7-display-none”></div></p>
Leo