簡體   English   中英

聯系表格7中的Wordcap驗證碼?

[英]Wordpress captcha in contact form 7?

嗨,我將聯系表單7與Really Simple CAPTCHA一起使用,但是它引發了以下驗證錯誤。 有沒有辦法解決這個問題? 還是有另一個插件,或者我可以直接將其輸入html中?

謝謝你的幫助

問候

朱迪

    #  Line 261, Column 84: document type does not allow element "input" here; missing one of "ins", "del", "h1", "h2", "h3", "h4", "h5", "h6", "p", "div", "address", "fieldset" start-tag

…llenge_captcha-508" value="20073138" /><img alt="captcha" src="http://www…

✉

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 "<a>", "<span>", or "<font>").
# Error Line 261, Column 243: document type does not allow element "img" here; missing one of "ins", "del", "h1", "h2", "h3", "h4", "h5", "h6", "p", "div", "address", "fieldset" start-tag

…/20073138.png" class="wpcf7-captcha-captcha-508" width="72" height="24" /><br/>

✉

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 "<a>", "<span>", or "<font>").
# Error Line 261, Column 248: document type does not allow element "br" here; missing one of "ins", "del", "h1", "h2", "h3", "h4", "h5", "h6", "p", "div", "pre", "address", "fieldset" start-tag

…/20073138.png" class="wpcf7-captcha-captcha-508" width="72" height="24" /><br/>

✉

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 "<a>", "<span>", or "<font>").
# Error Line 262, Column 50: document type does not allow element "span" here; missing one of "ins", "del", "h1", "h2", "h3", "h4", "h5", "h6", "p", "div", "pre", "address", "fieldset" start-tag

…="wpcf7-form-control-wrap captcha-508"><input type="text" name="captcha-508" v…

✉

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 "<a>", "<span>", or "<font>").

插件論壇表示,根據您的錯誤報告,此行會添加到wp-config.php中以阻止<p>標記的插入,這看起來像它可以解決一些驗證問題。

define( 'WPCF7_AUTOP', false );

但同時也要解決您的其他錯誤,因為它們容易滾雪球並引起其他驗證錯誤: [無效] artygirl.co.uk的標記驗證-W3C標記驗證器 在驗證報告中向下滾動以查看行號和源代碼。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM