<?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: Verify if email is duplicate before submitting the form</title>
		<link>https://legacy.forums.gravityhelp.com/topic/verify-if-email-is-duplicate-before-submitting-the-form</link>
		<description>Gravity Support Forums Topic: Verify if email is duplicate before submitting the form</description>
		<language>en-US</language>
		<pubDate>Thu, 23 Apr 2026 14:36:53 +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/verify-if-email-is-duplicate-before-submitting-the-form" rel="self" type="application/rss+xml" />

		<item>
			<title>David Smith on "Verify if email is duplicate before submitting the form"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/verify-if-email-is-duplicate-before-submitting-the-form#post-18996</link>
			<pubDate>Sat, 19 Feb 2011 14:23:26 +0000</pubDate>
			<dc:creator>David Smith</dc:creator>
			<guid isPermaLink="false">18996@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;My pleasure, glad this worked for you. :)
&#60;/p&#62;</description>
		</item>
		<item>
			<title>giorgiogu on "Verify if email is duplicate before submitting the form"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/verify-if-email-is-duplicate-before-submitting-the-form#post-18995</link>
			<pubDate>Sat, 19 Feb 2011 14:20:57 +0000</pubDate>
			<dc:creator>giorgiogu</dc:creator>
			<guid isPermaLink="false">18995@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi David!&#60;/p&#62;
&#60;p&#62;Thanks! :)&#60;/p&#62;
&#60;p&#62;I have copied the functions is_duplicate, get_lead and get_lead_table_name into my functions.php them file. Than i have modified your code into the page the link appear and it work great!!!!!!!&#60;/p&#62;
&#60;p&#62;Thanks again for your support!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>David Smith on "Verify if email is duplicate before submitting the form"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/verify-if-email-is-duplicate-before-submitting-the-form#post-18940</link>
			<pubDate>Fri, 18 Feb 2011 15:43:24 +0000</pubDate>
			<dc:creator>David Smith</dc:creator>
			<guid isPermaLink="false">18940@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi Giorgio,&#60;/p&#62;
&#60;p&#62;Here is a snippet that uses Gravity Forms' &#60;strong&#62;is_duplicate()&#60;/strong&#62; function to check if a value is already stored in the GF entry details table for a specific field of a specific form. I've noted in the code what will need to be changed to update this for your setup.&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://pastie.org/1579958&#34; rel=&#34;nofollow&#34;&#62;http://pastie.org/1579958&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>giorgiogu on "Verify if email is duplicate before submitting the form"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/verify-if-email-is-duplicate-before-submitting-the-form#post-18903</link>
			<pubDate>Fri, 18 Feb 2011 10:05:25 +0000</pubDate>
			<dc:creator>giorgiogu</dc:creator>
			<guid isPermaLink="false">18903@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi Carl,&#60;/p&#62;
&#60;p&#62;Sorry again :(&#60;/p&#62;
&#60;p&#62;I'm trying to understand the function but can't get much out of it.&#60;/p&#62;
&#60;p&#62;My first issue is how to get the user email from wordpress? Than to pass it to the is_duplicate?&#60;/p&#62;
&#60;p&#62;Is it possible for you to give me a simple example?&#60;/p&#62;
&#60;p&#62;Thanks&#60;/p&#62;
&#60;p&#62;Giorgio
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Carl Hancock on "Verify if email is duplicate before submitting the form"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/verify-if-email-is-duplicate-before-submitting-the-form#post-18577</link>
			<pubDate>Tue, 15 Feb 2011 13:50:57 +0000</pubDate>
			<dc:creator>Carl Hancock</dc:creator>
			<guid isPermaLink="false">18577@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;You would have to edit forms_model.php and look for the is_duplicate() function and copy-n-paste and repurpose the code for your needs.  There isn't a way to access it yourself from the forms_model code.  You'd have to duplicate that function and repurpose it for your needs.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>giorgiogu on "Verify if email is duplicate before submitting the form"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/verify-if-email-is-duplicate-before-submitting-the-form#post-18559</link>
			<pubDate>Tue, 15 Feb 2011 01:29:14 +0000</pubDate>
			<dc:creator>giorgiogu</dc:creator>
			<guid isPermaLink="false">18559@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Thanks David, i'm going to have a look at it, is there any way to make that function visiable insidede the page i want to call it? do i need to create an hook in my page theme template?&#60;/p&#62;
&#60;p&#62;thanks Giorgio
&#60;/p&#62;</description>
		</item>
		<item>
			<title>David Smith on "Verify if email is duplicate before submitting the form"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/verify-if-email-is-duplicate-before-submitting-the-form#post-17483</link>
			<pubDate>Wed, 02 Feb 2011 14:05:34 +0000</pubDate>
			<dc:creator>David Smith</dc:creator>
			<guid isPermaLink="false">17483@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;You can theoretically use the same function that Gravity Forms uses to test for duplicate entry values. It's called &#60;strong&#62;is_duplicate()&#60;/strong&#62; and you can find it in forms_model.php on line 1594.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>giorgiogu on "Verify if email is duplicate before submitting the form"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/verify-if-email-is-duplicate-before-submitting-the-form#post-17446</link>
			<pubDate>Tue, 01 Feb 2011 20:23:43 +0000</pubDate>
			<dc:creator>giorgiogu</dc:creator>
			<guid isPermaLink="false">17446@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hello, &#60;/p&#62;
&#60;p&#62;From this page:&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://gm-studio.co.uk/model-contest/photo-contest/&#34; rel=&#34;nofollow&#34;&#62;http://gm-studio.co.uk/model-contest/photo-contest/&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;if the user is logged in, there is a link to go to this page:&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://gm-studio.co.uk/model-contest/upload-your-pictures/&#34; rel=&#34;nofollow&#34;&#62;http://gm-studio.co.uk/model-contest/upload-your-pictures/&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Where (if the user is logged in) is possible to  fill a form where the email field have to be unique, this is working well.&#60;/p&#62;
&#60;p&#62;I would like to know if there is a simple php code to add in the first page able to verify if there is already an entry in the database submitted bu the logged user, in that case the link to the form page doesn't appear?&#60;/p&#62;
&#60;p&#62;I have already added the php to verify if the user is logged in, but i don't know how verify that his email is already in one entry in the database.&#60;/p&#62;
&#60;p&#62;Thanks for your help&#60;/p&#62;
&#60;p&#62;Giorgio
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
