<?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: No Duplicates on hidden field</title>
		<link>https://legacy.forums.gravityhelp.com/topic/no-duplicates-on-hidden-field</link>
		<description>Gravity Support Forums Topic: No Duplicates on hidden field</description>
		<language>en-US</language>
		<pubDate>Sat, 04 Apr 2026 13:46:48 +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/no-duplicates-on-hidden-field" rel="self" type="application/rss+xml" />

		<item>
			<title>toggle on "No Duplicates on hidden field"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/no-duplicates-on-hidden-field#post-22933</link>
			<pubDate>Mon, 11 Apr 2011 08:56:35 +0000</pubDate>
			<dc:creator>toggle</dc:creator>
			<guid isPermaLink="false">22933@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi Carl&#60;br /&#62;
Thanks for getting back. I have actually come up with a solution and you can see the code here:&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;https://gist.github.com/913464&#34; rel=&#34;nofollow&#34;&#62;https://gist.github.com/913464&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;The UID already exists and I would not be updating it with a new one. Your right about throwing an error on a hidden field... my original version of the code did that and the user experience is off. In the end I made it so it threw the error onto all visible fields. Not perfect but it works.&#60;/p&#62;
&#60;p&#62;Scott
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Carl Hancock on "No Duplicates on hidden field"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/no-duplicates-on-hidden-field#post-22790</link>
			<pubDate>Fri, 08 Apr 2011 11:38:49 +0000</pubDate>
			<dc:creator>Carl Hancock</dc:creator>
			<guid isPermaLink="false">22790@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I'm assuming if the UID already exists you would generate a new one and want to replace the existing one with the new one? Because as it's a hidden field you wouldn't want to throw an error because it's a hidden field...
&#60;/p&#62;</description>
		</item>
		<item>
			<title>toggle on "No Duplicates on hidden field"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/no-duplicates-on-hidden-field#post-22765</link>
			<pubDate>Fri, 08 Apr 2011 05:54:40 +0000</pubDate>
			<dc:creator>toggle</dc:creator>
			<guid isPermaLink="false">22765@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi&#60;br /&#62;
I have created a form that has a hidden field with the label &#34;UID&#34;. I use this field to store a custom unique identifier based on a few different user variables.&#60;/p&#62;
&#60;p&#62;Before saving the form I want to check if the UID already exists in the database. If the field was not hidden I could check the &#34;no duplicates&#34; checkbox on the field and it would be validated as required. &#60;/p&#62;
&#60;p&#62;How do I go about achieving this with a hidden field?  I have been looking at the &#34;gform_is_duplicate&#34; hook and not had much luck in getting it to work.&#60;/p&#62;
&#60;p&#62;Thanks.
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
