<?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: Simple form validation</title>
		<link>https://legacy.forums.gravityhelp.com/topic/simple-form-validation</link>
		<description>Gravity Support Forums Topic: Simple form validation</description>
		<language>en-US</language>
		<pubDate>Sun, 19 Apr 2026 23:19:04 +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/simple-form-validation" rel="self" type="application/rss+xml" />

		<item>
			<title>helicon on "Simple form validation"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/simple-form-validation#post-168099</link>
			<pubDate>Mon, 11 Mar 2013 18:38:15 +0000</pubDate>
			<dc:creator>helicon</dc:creator>
			<guid isPermaLink="false">168099@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Thanks very much - I'll give it a try (gulps).
&#60;/p&#62;</description>
		</item>
		<item>
			<title>rcDev on "Simple form validation"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/simple-form-validation#post-168049</link>
			<pubDate>Mon, 11 Mar 2013 16:25:53 +0000</pubDate>
			<dc:creator>rcDev</dc:creator>
			<guid isPermaLink="false">168049@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Pretty sure you'll need to use PHP. Use the *gform_field_validation* hook:&#60;br /&#62;
&#60;a href=&#34;http://www.gravityhelp.com/documentation/page/Gform_field_validation&#34; rel=&#34;nofollow&#34;&#62;http://www.gravityhelp.com/documentation/page/Gform_field_validation&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Here is some example code to put in your *functions.php* file:&#60;br /&#62;
&#60;a href=&#34;http://pastebin.com/fUbgVqbh&#34; rel=&#34;nofollow&#34;&#62;http://pastebin.com/fUbgVqbh&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>helicon on "Simple form validation"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/simple-form-validation#post-168036</link>
			<pubDate>Mon, 11 Mar 2013 16:05:06 +0000</pubDate>
			<dc:creator>helicon</dc:creator>
			<guid isPermaLink="false">168036@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hello, I'm trying to find a very easy way of validating a discount code on my site. It won't need to be a required field (as most users won't have a code), but I do need the user to enter the correct code otherwise it should say &#34;invalid code&#34;. At the moment I am only using one code but I may need to use more in the future.&#60;/p&#62;
&#60;p&#62;I'm not that great at PHP so am hoping there is a simple solution out there!&#60;/p&#62;
&#60;p&#62;Many thanks.
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
