<?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: Check if two email fields are equal</title>
		<link>https://legacy.forums.gravityhelp.com/topic/check-if-two-email-fields-are-equal</link>
		<description>Gravity Support Forums Topic: Check if two email fields are equal</description>
		<language>en-US</language>
		<pubDate>Sat, 04 Apr 2026 22:25:33 +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/check-if-two-email-fields-are-equal" rel="self" type="application/rss+xml" />

		<item>
			<title>Collectiv on "Check if two email fields are equal"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/check-if-two-email-fields-are-equal#post-10573</link>
			<pubDate>Wed, 29 Sep 2010 12:57:48 +0000</pubDate>
			<dc:creator>Collectiv</dc:creator>
			<guid isPermaLink="false">10573@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;+1
&#60;/p&#62;</description>
		</item>
		<item>
			<title>pcohen15 on "Check if two email fields are equal"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/check-if-two-email-fields-are-equal#post-10257</link>
			<pubDate>Thu, 23 Sep 2010 11:24:02 +0000</pubDate>
			<dc:creator>pcohen15</dc:creator>
			<guid isPermaLink="false">10257@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;+1
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Morten Knudsen on "Check if two email fields are equal"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/check-if-two-email-fields-are-equal#post-10242</link>
			<pubDate>Thu, 23 Sep 2010 04:27:14 +0000</pubDate>
			<dc:creator>Morten Knudsen</dc:creator>
			<guid isPermaLink="false">10242@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;+1
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Idealien on "Check if two email fields are equal"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/check-if-two-email-fields-are-equal#post-10236</link>
			<pubDate>Wed, 22 Sep 2010 19:29:00 +0000</pubDate>
			<dc:creator>Idealien</dc:creator>
			<guid isPermaLink="false">10236@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;This solves my needs short term, but the custom validation that has been mentioned in several threads as a 'coming feature' would be something I'd put a +1 vote towards on the feature request list side of things.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>digitalleap on "Check if two email fields are equal"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/check-if-two-email-fields-are-equal#post-6178</link>
			<pubDate>Tue, 08 Jun 2010 04:09:31 +0000</pubDate>
			<dc:creator>digitalleap</dc:creator>
			<guid isPermaLink="false">6178@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I also came here looking for a solution, preferably one that allowed me to be flexible and have it run over many forms. I took the code by Alex and did a bit of hacking on it so that I could &#34;enable&#34; the confirmation in the backend.&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;jQuery(document).ready(function(){
    jQuery(&#38;quot;input.button&#38;quot;).click(
        function(){
            if(jQuery(&#38;quot;.email input&#38;quot;).val() != jQuery(&#38;quot;.confirm-email input&#38;quot;).val())
            {
                jQuery(&#38;quot;.confirm-email&#38;quot;).addClass(&#38;quot;gfield_error&#38;quot;);
                jQuery(&#38;quot;.confirm-email .validation_message&#38;quot;).remove();
                jQuery(&#38;quot;.confirm-email .ginput_container&#38;quot;).append(&#38;quot;&#38;lt;div class=&#38;#39;gfield_description validation_message&#38;#39;&#38;gt;Your emails do not match.&#38;lt;/div&#38;gt;&#38;quot;);
                return false;
            }
        }
    );
});&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;So now all you need to do is create an email field and give it a class name of &#34;email&#34; in the advanced tab and then create a single line text field (people do not need to be told twice that they have not entered a valid email) and give it the class name &#34;confirm-email&#34;.&#60;/p&#62;
&#60;p&#62;What you guys think?&#60;/p&#62;
&#60;p&#62;Only down side is that the validation run before the rest of the form validation but at least it is there.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>rzn8media on "Check if two email fields are equal"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/check-if-two-email-fields-are-equal#post-5883</link>
			<pubDate>Sun, 30 May 2010 05:52:04 +0000</pubDate>
			<dc:creator>rzn8media</dc:creator>
			<guid isPermaLink="false">5883@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;You could use the jQuery Form Plugin to utterly hi-Jack the form on submit, use the ajaxSubmit or ajaxForm options and the validate plugin to do all the custom validation, and then you could use the &#34;return false&#34; to prevent GravityForms from handling it at all. &#60;/p&#62;
&#60;p&#62;I don't know if you have used the jquery forms plugin much Alex.. Has anyone tried this before?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Alex Cancado on "Check if two email fields are equal"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/check-if-two-email-fields-are-equal#post-3115</link>
			<pubDate>Wed, 03 Feb 2010 09:40:41 +0000</pubDate>
			<dc:creator>Alex Cancado</dc:creator>
			<guid isPermaLink="false">3115@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Good stuff Jan!&#60;br /&#62;
I am glad it worked for you.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Jan Egbert on "Check if two email fields are equal"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/check-if-two-email-fields-are-equal#post-3111</link>
			<pubDate>Wed, 03 Feb 2010 07:02:18 +0000</pubDate>
			<dc:creator>Jan Egbert</dc:creator>
			<guid isPermaLink="false">3111@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Works fine! Thanks.&#60;/p&#62;
&#60;p&#62;I used Justin Tadlock's Javascript Logic plugin to load jquery for the page where the form is embedded.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Alex Cancado on "Check if two email fields are equal"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/check-if-two-email-fields-are-equal#post-3086</link>
			<pubDate>Tue, 02 Feb 2010 12:01:19 +0000</pubDate>
			<dc:creator>Alex Cancado</dc:creator>
			<guid isPermaLink="false">3086@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Jan,&#60;br /&#62;
I couldn't get the validation plugin to work neither, but the following should do the trick. A little bit more complex, but not too bad. Just make sure you include the jQuery library on that page. Let me know how it goes.&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;jQuery(document).ready(function(){
                jQuery(&#38;quot;input.button&#38;quot;).click(
                    function(){
                        if(jQuery(&#38;quot;#input_1_4&#38;quot;).val() != jQuery(&#38;quot;#input_1_19&#38;quot;).val())
                        {
                            jQuery(&#38;quot;#field_1_19&#38;quot;).addClass(&#38;quot;gfield_error&#38;quot;);
                            jQuery(&#38;quot;#field_1_19 .validation_message&#38;quot;).remove();
                            jQuery(&#38;quot;#field_1_19 .ginput_container&#38;quot;).append(&#38;quot;&#38;lt;div class=&#38;#39;gfield_description validation_message&#38;#39;&#38;gt;Your emails do not match.&#38;lt;/div&#38;gt;&#38;quot;);
                            return false;
                        }
                    }
                );
            });&#60;/code&#62;&#60;/pre&#62;</description>
		</item>
		<item>
			<title>Jan Egbert on "Check if two email fields are equal"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/check-if-two-email-fields-are-equal#post-3067</link>
			<pubDate>Sun, 31 Jan 2010 08:19:51 +0000</pubDate>
			<dc:creator>Jan Egbert</dc:creator>
			<guid isPermaLink="false">3067@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I tried this method: &#60;a href=&#34;http://docs.jquery.com/Plugins/Validation/Methods/equalTo&#34; rel=&#34;nofollow&#34;&#62;http://docs.jquery.com/Plugins/Validation/Methods/equalTo&#60;/a&#62;&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;$(&#38;quot;#gform_1&#38;quot;).validate({
  rules: {
	input_4: &#38;quot;required&#38;quot;,
	input_19: {
      equalTo: &#38;quot;#input_1_4&#38;quot;
    }
  }
});&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Added some CSS, but so far I haven't been able to get it to work. Although it looks pretty straight  forward.
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
