<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.0.1" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Gravity Support Forums Topic: Honeypot Form Validation causes W3C validation errors</title>
		<link>https://legacy.forums.gravityhelp.com/topic/honeypot-form-validation-causes-w3c-validation-errors</link>
		<description>Gravity Support Forums Topic: Honeypot Form Validation causes W3C validation errors</description>
		<language>en-US</language>
		<pubDate>Mon, 20 Apr 2026 08:28:58 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.0.1</generator>
		<textInput>
			<title><![CDATA[Search]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>https://legacy.forums.gravityhelp.com/search.php</link>
		</textInput>
		<atom:link href="https://legacy.forums.gravityhelp.com/rss/topic/honeypot-form-validation-causes-w3c-validation-errors" rel="self" type="application/rss+xml" />

		<item>
			<title>Carl Hancock on "Honeypot Form Validation causes W3C validation errors"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/honeypot-form-validation-causes-w3c-validation-errors#post-12992</link>
			<pubDate>Fri, 19 Nov 2010 13:57:57 +0000</pubDate>
			<dc:creator>Carl Hancock</dc:creator>
			<guid isPermaLink="false">12992@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Thanks for pointing it out, we will take a look and get it updated in the next release.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>ElectricEasel on "Honeypot Form Validation causes W3C validation errors"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/honeypot-form-validation-causes-w3c-validation-errors#post-12988</link>
			<pubDate>Fri, 19 Nov 2010 12:42:40 +0000</pubDate>
			<dc:creator>ElectricEasel</dc:creator>
			<guid isPermaLink="false">12988@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Just going about validating my site with the W3C validator some more, and came across another validation issue with Gravity Forms.&#60;/p&#62;
&#60;p&#62;When including the anti-spam honeypot for form validation, I was able to pass W3C validation, but with a warning, that one of my form fields had a &#38;lt; label for=&#34;input_3_8&#34; &#38;gt;, but a field with that id didn't exist. I did some digging, and found the problem.&#60;/p&#62;
&#60;p&#62;On line 1233 of common.php, you have:&#60;br /&#62;
return &#34;&#38;lt;div class='ginput_container'&#38;gt;&#38;lt;input name='input_{$id}' type='text' value=''/&#38;gt;&#38;lt;/div&#38;gt;&#34;;&#60;br /&#62;
which returns no ID for the form, and a wrong name. ( name=&#34;input_8&#34; )&#60;/p&#62;
&#60;p&#62;So, I edited it to look like this:&#60;br /&#62;
return &#34;&#38;lt;div class='ginput_container'&#38;gt;&#38;lt;input name='{$field_id}' id='{$field_id}' type='text' value=''/&#38;gt;&#38;lt;/div&#38;gt;&#34;;&#60;br /&#62;
and it returns the proper information, and I am getting no more validation errors with W3C validator. &#60;/p&#62;
&#60;p&#62;Just thought you'd like to know, instead of having to track this down yourself.
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
