<?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: Validate field with Regular Expression</title>
		<link>https://legacy.forums.gravityhelp.com/topic/validate-field-with-regular-expression</link>
		<description>Gravity Support Forums Topic: Validate field with Regular Expression</description>
		<language>en-US</language>
		<pubDate>Sat, 04 Apr 2026 13:53:01 +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/validate-field-with-regular-expression" rel="self" type="application/rss+xml" />

		<item>
			<title>Muhammad Mustafa on "Validate field with Regular Expression"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/validate-field-with-regular-expression#post-25496</link>
			<pubDate>Fri, 13 May 2011 13:10:34 +0000</pubDate>
			<dc:creator>Muhammad Mustafa</dc:creator>
			<guid isPermaLink="false">25496@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Bad news :(&#60;br /&#62;
Thanks anyway Carl, I'll work in a workaround, just put it in your To-Do Features list, gonna be awesome to see such a function in Gravity... Kindly mark this thread as answered and close it, no more question here for now :)
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Carl Hancock on "Validate field with Regular Expression"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/validate-field-with-regular-expression#post-25421</link>
			<pubDate>Thu, 12 May 2011 14:48:52 +0000</pubDate>
			<dc:creator>Carl Hancock</dc:creator>
			<guid isPermaLink="false">25421@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Conditional Logic doesn't currently support OR type functionality.  It only supports basic conditionals.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Muhammad Mustafa on "Validate field with Regular Expression"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/validate-field-with-regular-expression#post-25364</link>
			<pubDate>Wed, 11 May 2011 20:38:08 +0000</pubDate>
			<dc:creator>Muhammad Mustafa</dc:creator>
			<guid isPermaLink="false">25364@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Thanks Carl, it worked for me :)&#60;br /&#62;
Now, another tiny question...&#60;br /&#62;
I am using conditional logic for some fields within my forms its easy and works great, only one case I can't achieve with gravity where:&#60;br /&#62;
- Field A is a radio button with 2 choices&#60;br /&#62;
- Field B is a drop down menu with 4 values&#60;br /&#62;
- Field C is a text input shows ONLY IF (Field A = Choice1) AND (Field B = value1 OR value2 OR value3)&#60;br /&#62;
- Field D is a text input shows ONLY IF (Field A = Choice1) AND (Field B = value4)&#60;br /&#62;
I can get the Field D to work probably but not Field C hence the lake of 'OR' ability in the conditional logic with gravity, am I missing anything here? is there anyway to do it?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Carl Hancock on "Validate field with Regular Expression"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/validate-field-with-regular-expression#post-25296</link>
			<pubDate>Wed, 11 May 2011 11:30:59 +0000</pubDate>
			<dc:creator>Carl Hancock</dc:creator>
			<guid isPermaLink="false">25296@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;To do custom validation on a field you use the gform_validation hook.&#60;/p&#62;
&#60;p&#62;You can find documentation for the gform_validation hook here:&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://www.gravityhelp.com/documentation/page/Gform_validation&#34; rel=&#34;nofollow&#34;&#62;http://www.gravityhelp.com/documentation/page/Gform_validation&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;A tutorial on how to use the gform_validation hook to write custom validation can be found here:&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://www.gravityhelp.com/documentation/page/Using_the_Gravity_Forms_%22gform_valiation%22_Hook&#34; rel=&#34;nofollow&#34;&#62;http://www.gravityhelp.com/documentation/page/Using_the_Gravity_Forms_%22gform_valiation%22_Hook&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Muhammad Mustafa on "Validate field with Regular Expression"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/validate-field-with-regular-expression#post-25285</link>
			<pubDate>Wed, 11 May 2011 11:17:59 +0000</pubDate>
			<dc:creator>Muhammad Mustafa</dc:creator>
			<guid isPermaLink="false">25285@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I want to validate 2 fields within my form with Regular Expression&#60;br /&#62;
I searched the forum and found some posts that are not clear enough about how to do it, so please give me a &#34;clear&#34; steps on how to validate a specific text input field with my Regular Expression using hooks/filters or whatever it takes, clearly, which part of the code put where?!&#60;br /&#62;
Thanks,
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
