<?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: Email validation - allow only one domain?</title>
		<link>https://legacy.forums.gravityhelp.com/topic/email-validation-allow-only-one-domain</link>
		<description>Gravity Support Forums Topic: Email validation - allow only one domain?</description>
		<language>en-US</language>
		<pubDate>Mon, 20 Apr 2026 05:18:55 +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/email-validation-allow-only-one-domain" rel="self" type="application/rss+xml" />

		<item>
			<title>Rob Harrell on "Email validation - allow only one domain?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/email-validation-allow-only-one-domain#post-55773</link>
			<pubDate>Thu, 19 Apr 2012 09:47:23 +0000</pubDate>
			<dc:creator>Rob Harrell</dc:creator>
			<guid isPermaLink="false">55773@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Thanks for posting your solution Mike!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>shelzmike on "Email validation - allow only one domain?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/email-validation-allow-only-one-domain#post-55764</link>
			<pubDate>Thu, 19 Apr 2012 09:29:58 +0000</pubDate>
			<dc:creator>shelzmike</dc:creator>
			<guid isPermaLink="false">55764@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;In case anyone is interested or stumbles upon this post, here is the pastie of how I actually got this working the way I wanted. The top part, of course, is the Gravity Validation hook, and the very bottom is what I added to allow whatever domains I wanted. I suppose another way could be to setup an array and then populate it with the allowed domains. Then just check against that. &#60;/p&#62;
&#60;p&#62;Either way, it works:&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://pastie.org/3816641&#34; rel=&#34;nofollow&#34;&#62;http://pastie.org/3816641&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Rob Harrell on "Email validation - allow only one domain?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/email-validation-allow-only-one-domain#post-55555</link>
			<pubDate>Tue, 17 Apr 2012 16:37:18 +0000</pubDate>
			<dc:creator>Rob Harrell</dc:creator>
			<guid isPermaLink="false">55555@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Right on Mike, glad to help.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>shelzmike on "Email validation - allow only one domain?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/email-validation-allow-only-one-domain#post-55554</link>
			<pubDate>Tue, 17 Apr 2012 16:36:32 +0000</pubDate>
			<dc:creator>shelzmike</dc:creator>
			<guid isPermaLink="false">55554@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Yeah, I tend to do that a lot...really bad habit of mine. :) And I came back here to post that I found that link that talks about the Gform_validation hook. Thanks!&#60;/p&#62;
&#60;p&#62;Mike
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Rob Harrell on "Email validation - allow only one domain?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/email-validation-allow-only-one-domain#post-55541</link>
			<pubDate>Tue, 17 Apr 2012 15:57:58 +0000</pubDate>
			<dc:creator>Rob Harrell</dc:creator>
			<guid isPermaLink="false">55541@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hey Mike, not going to lie, you lost me halfway through this one! lol&#60;/p&#62;
&#60;p&#62;However, you can use this hook for custom validation:&#60;br /&#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;</description>
		</item>
		<item>
			<title>shelzmike on "Email validation - allow only one domain?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/email-validation-allow-only-one-domain#post-55539</link>
			<pubDate>Tue, 17 Apr 2012 15:53:26 +0000</pubDate>
			<dc:creator>shelzmike</dc:creator>
			<guid isPermaLink="false">55539@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Love the plugin btw. Okay, so I am creating an 'Employee of the Month' nomination form that will be used on one of our company-only (essentially intranet) sites that I use WP and Gravity forms on.&#60;/p&#62;
&#60;p&#62;I have it virtually hidden from public - i.e. users will only find it if they know the address; however, I decided to only divvy out logins for the 5 or so managers that will be actually adding content. I did not want to have to work on setting up and maintaining records for another 150 logins on top of all the others that we have.&#60;/p&#62;
&#60;p&#62;So, I do not want the employees to have to log in to complete the form. However, I do want at least a 'soft' level of protection from SPAM (it could always happen), etc. I want to do this by allowing only people to post who use a specific domain I give them. So, how can I go about validating the email address so that a.) yes it is valid all the way around, but also b.) it is in fact the one and only domain that is allowed?&#60;/p&#62;
&#60;p&#62;Thanks!&#60;/p&#62;
&#60;p&#62;Mike
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
