<?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: Allowing a field to go into the database that is the same</title>
		<link>https://legacy.forums.gravityhelp.com/topic/allowing-a-field-to-go-into-the-database-that-is-the-same</link>
		<description>Gravity Support Forums Topic: Allowing a field to go into the database that is the same</description>
		<language>en-US</language>
		<pubDate>Tue, 21 Apr 2026 14:03:44 +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/allowing-a-field-to-go-into-the-database-that-is-the-same" rel="self" type="application/rss+xml" />

		<item>
			<title>Chris Hajer on "Allowing a field to go into the database that is the same"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/allowing-a-field-to-go-into-the-database-that-is-the-same#post-75352</link>
			<pubDate>Fri, 14 Sep 2012 11:32:31 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">75352@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Please let us know what you find out.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>0to5 on "Allowing a field to go into the database that is the same"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/allowing-a-field-to-go-into-the-database-that-is-the-same#post-75336</link>
			<pubDate>Fri, 14 Sep 2012 09:44:02 +0000</pubDate>
			<dc:creator>0to5</dc:creator>
			<guid isPermaLink="false">75336@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Chris,&#60;/p&#62;
&#60;p&#62;I will try to pull it outside my class and just call my class when I need to for the global variables I will set.  Hopefully that will take care of the scope issues.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "Allowing a field to go into the database that is the same"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/allowing-a-field-to-go-into-the-database-that-is-the-same#post-75324</link>
			<pubDate>Fri, 14 Sep 2012 08:52:03 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">75324@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Can you try adding the function to your theme's functions.php rather than to a plugin file?  It makes a difference sometimes where your function is located.  The hooks were designed to be used in the theme's functions.php.  If you can ensure the function works there first, you might be able to get it to work in your plugin.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>0to5 on "Allowing a field to go into the database that is the same"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/allowing-a-field-to-go-into-the-database-that-is-the-same#post-75315</link>
			<pubDate>Fri, 14 Sep 2012 08:41:19 +0000</pubDate>
			<dc:creator>0to5</dc:creator>
			<guid isPermaLink="false">75315@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Chris,&#60;/p&#62;
&#60;p&#62;I am not so sure if it is that the hooks arent doing what they are supposed to, it looks like they arent firing.  Do you have any insight as to why they wouldnt be?  I have them embedded in a Class of my own plugin but when I put them inside a conditional function it appears that they do not fire anymore unless they are under my INIT method.  &#60;/p&#62;
&#60;p&#62;Thanks,&#60;br /&#62;
Travis
&#60;/p&#62;</description>
		</item>
		<item>
			<title>0to5 on "Allowing a field to go into the database that is the same"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/allowing-a-field-to-go-into-the-database-that-is-the-same#post-75265</link>
			<pubDate>Fri, 14 Sep 2012 00:35:55 +0000</pubDate>
			<dc:creator>0to5</dc:creator>
			<guid isPermaLink="false">75265@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Yes,&#60;/p&#62;
&#60;p&#62;I have the conditions outside this hook so it should allow all fields to validate no matter what but it is still catching them somehow.  If might be because of this hook following it?:&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;add_action(&#38;quot;gform_after_submission&#38;quot;, &#38;quot;gf_us_set_post_content&#38;quot;, 10, 2);
function gf_us_set_post_content($entry, $form){
	RGFormsModel::save_lead($form, $lead);
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;I am trying to save this form back into the database to overwrite an existing entry.  Does this hook appear like that is what it will do?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "Allowing a field to go into the database that is the same"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/allowing-a-field-to-go-into-the-database-that-is-the-same#post-75261</link>
			<pubDate>Fri, 14 Sep 2012 00:24:25 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">75261@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;It looks like this function here should allow duplicates no matter what?  Is that just for testing?  Are there more rules in place that you trimmed here for brevity?&#60;/p&#62;
&#60;p&#62;If you export your form as XML (Import/Export menu item, then &#34;Export Forms&#34; from the top menu) and send me your functions.php to &#60;a href=&#34;mailto:chris@rocketgenius.com&#34;&#62;chris@rocketgenius.com&#60;/a&#62; I will take a look at this for you.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>0to5 on "Allowing a field to go into the database that is the same"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/allowing-a-field-to-go-into-the-database-that-is-the-same#post-75259</link>
			<pubDate>Fri, 14 Sep 2012 00:16:20 +0000</pubDate>
			<dc:creator>0to5</dc:creator>
			<guid isPermaLink="false">75259@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Chris,&#60;/p&#62;
&#60;p&#62;I am trying this:&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;add_action(&#38;#39;gform_is_duplicate&#38;#39;, &#38;#39;allowDuplicateFields&#38;#39;, 10, 4);
function allowDuplicateFields($count, $form_id, $field, $value) {
	 return 0;
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;but it is not working.  Basically I want to manually override through a hook if I will accept a duplicate email.  For simplicity sake lets say that I always wanted to validate a duplicate email as long as the value was &#60;a href=&#34;mailto:test@test.com&#34;&#62;test@test.com&#60;/a&#62;  but require every other email to NOT be a duplicate.&#60;/p&#62;
&#60;p&#62;Does this make sense?  Any help would be greatly appreciated.&#60;/p&#62;
&#60;p&#62;Thanks,&#60;br /&#62;
Travis
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "Allowing a field to go into the database that is the same"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/allowing-a-field-to-go-into-the-database-that-is-the-same#post-75258</link>
			<pubDate>Fri, 14 Sep 2012 00:14:18 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">75258@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;When you say &#34;at the last minute&#34;, what stage of form submission are you talking about?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>0to5 on "Allowing a field to go into the database that is the same"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/allowing-a-field-to-go-into-the-database-that-is-the-same#post-75253</link>
			<pubDate>Thu, 13 Sep 2012 23:52:32 +0000</pubDate>
			<dc:creator>0to5</dc:creator>
			<guid isPermaLink="false">75253@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I know this is a weird request - but trust me it makes sense for my particular application.  In the backend of Gravity Forms I have an email field checked with &#34;No Duplicates&#34;.  Is there a way in a hook to change this to allow duplicates at the last minute if the form meets a certain requirement?
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
