<?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: How do you add custom PHP validation to a gform field?</title>
		<link>https://legacy.forums.gravityhelp.com/topic/how-do-you-add-custom-php-validation-to-a-gform-field</link>
		<description>Gravity Support Forums Topic: How do you add custom PHP validation to a gform field?</description>
		<language>en-US</language>
		<pubDate>Sat, 04 Apr 2026 12:11:09 +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/how-do-you-add-custom-php-validation-to-a-gform-field" rel="self" type="application/rss+xml" />

		<item>
			<title>Carl Hancock on "How do you add custom PHP validation to a gform field?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/how-do-you-add-custom-php-validation-to-a-gform-field#post-9562</link>
			<pubDate>Wed, 08 Sep 2010 11:57:37 +0000</pubDate>
			<dc:creator>Carl Hancock</dc:creator>
			<guid isPermaLink="false">9562@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;You can use Gravity Forms 1.4 beta, and use the Option/Value capabilities.  Make the first option &#34;Please Choose...&#34; but don't give it a value. Then make the field required.  The field will fail validation because there is no value.&#60;/p&#62;
&#60;p&#62;You would, of course, then have to add values for the countries.  You can do this either using the built in interface or the bulk add.  In bulk add you separate the option/value with a pipe.&#60;/p&#62;
&#60;p&#62;Ex.&#60;/p&#62;
&#60;p&#62;United Kingdom&#124;UK&#60;/p&#62;
&#60;p&#62;This would then parse and use United Kingdom for the option label and UK for the value.&#60;/p&#62;
&#60;p&#62;1.4 final is getting ready to be released most likely later today.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>interconnectit on "How do you add custom PHP validation to a gform field?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/how-do-you-add-custom-php-validation-to-a-gform-field#post-9554</link>
			<pubDate>Wed, 08 Sep 2010 07:29:31 +0000</pubDate>
			<dc:creator>interconnectit</dc:creator>
			<guid isPermaLink="false">9554@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I want a dropdown that is populated with countries but that has an option at the top 'Please choose...'. How can I validate against this when the field is required but without using javascript. I need to prevent the value 'please choose' from being accepted as a value.&#60;/p&#62;
&#60;p&#62;Any ideas?
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
