<?xml version="1.0"?><!-- generator="bbPress" -->

<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
>

<channel>
<title>MachForm Community Forums Topic: Verify email address with duplicate fields</title>
<link>https://www.machform.com/forums/</link>
<description>MachForm Community Forums Topic: Verify email address with duplicate fields</description>
<language>en</language>
<pubDate>Fri, 19 Jun 2026 07:56:40 +0000</pubDate>

<item>
<title>yuniar on "Verify email address with duplicate fields"</title>
<link>https://www.machform.com/forums/topic/verify-email-address-with-duplicate-fields#post-1456</link>
<pubDate>Wed, 23 Apr 2008 08:34:08 +0000</pubDate>
<dc:creator>yuniar</dc:creator>
<guid isPermaLink="false">1456@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Sounds great :-)
&#60;/p&#62;</description>
</item>
<item>
<title>cyberk on "Verify email address with duplicate fields"</title>
<link>https://www.machform.com/forums/topic/verify-email-address-with-duplicate-fields#post-1448</link>
<pubDate>Wed, 23 Apr 2008 02:27:16 +0000</pubDate>
<dc:creator>cyberk</dc:creator>
<guid isPermaLink="false">1448@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;I did get this working, albeit in an entirely ugly, hackish manner on the back end. From the user perspective it looks and works perfectly, but my code is a bit unattractive.&#60;/p&#62;
&#60;p&#62;Thanks for the help!&#60;/p&#62;
&#60;p&#62;Andrew
&#60;/p&#62;</description>
</item>
<item>
<title>cyberk on "Verify email address with duplicate fields"</title>
<link>https://www.machform.com/forums/topic/verify-email-address-with-duplicate-fields#post-1447</link>
<pubDate>Tue, 22 Apr 2008 23:50:58 +0000</pubDate>
<dc:creator>cyberk</dc:creator>
<guid isPermaLink="false">1447@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Aha, that should do it. Thanks so much!!!&#60;/p&#62;
&#60;p&#62;Andrew
&#60;/p&#62;</description>
</item>
<item>
<title>yuniar on "Verify email address with duplicate fields"</title>
<link>https://www.machform.com/forums/topic/verify-email-address-with-duplicate-fields#post-1442</link>
<pubDate>Tue, 22 Apr 2008 14:34:31 +0000</pubDate>
<dc:creator>yuniar</dc:creator>
<guid isPermaLink="false">1442@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Actually, I prepared that &#34;equal&#34; comparison function for this purpose. Comparing two fields, but didn't get the chance to implement the whole functionality.&#60;/p&#62;
&#60;p&#62;From process_form() function, you could get the content of the other email by accessing the $user_input array. For example $user_input['element_3'];&#60;/p&#62;
&#60;p&#62;Try to dump the $user_input variable and you'll see it. It hold the whole form inputs.
&#60;/p&#62;</description>
</item>
<item>
<title>cyberk on "Verify email address with duplicate fields"</title>
<link>https://www.machform.com/forums/topic/verify-email-address-with-duplicate-fields#post-1441</link>
<pubDate>Tue, 22 Apr 2008 14:26:55 +0000</pubDate>
<dc:creator>cyberk</dc:creator>
<guid isPermaLink="false">1441@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Cool, I looked at common-validator, but what I'm not sure of is how to get the content of the other email field. I even see a &#34;equal&#34; comparison function but I'm not sure where to pull the value of the two different email fields. Any hints?&#60;/p&#62;
&#60;p&#62;Thanks!
&#60;/p&#62;</description>
</item>
<item>
<title>yuniar on "Verify email address with duplicate fields"</title>
<link>https://www.machform.com/forums/topic/verify-email-address-with-duplicate-fields#post-1439</link>
<pubDate>Tue, 22 Apr 2008 09:17:30 +0000</pubDate>
<dc:creator>yuniar</dc:creator>
<guid isPermaLink="false">1439@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;cyberk, you can start looking at &#60;strong&#62;includes/common-validator.php&#60;/strong&#62; file.&#60;br /&#62;
All validation functions are defined there.&#60;/p&#62;
&#60;p&#62;Those functions are being called by process_form() function defined in &#60;strong&#62;includes/post-functions.php&#60;/strong&#62;&#60;/p&#62;
&#60;p&#62;Hope that helps.
&#60;/p&#62;</description>
</item>
<item>
<title>Saghalie on "Verify email address with duplicate fields"</title>
<link>https://www.machform.com/forums/topic/verify-email-address-with-duplicate-fields#post-1434</link>
<pubDate>Tue, 22 Apr 2008 06:30:29 +0000</pubDate>
<dc:creator>Saghalie</dc:creator>
<guid isPermaLink="false">1434@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Correction.&#60;/p&#62;
&#60;p&#62;change qton to Yuniar!&#60;/p&#62;
&#60;p&#62;Getting my lists mixed up!
&#60;/p&#62;</description>
</item>
<item>
<title>Saghalie on "Verify email address with duplicate fields"</title>
<link>https://www.machform.com/forums/topic/verify-email-address-with-duplicate-fields#post-1433</link>
<pubDate>Tue, 22 Apr 2008 06:26:58 +0000</pubDate>
<dc:creator>Saghalie</dc:creator>
<guid isPermaLink="false">1433@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;I'll let qton answer the part about his own code (where to tweak it and all that).  &#60;/p&#62;
&#60;p&#62;IMHO, &#60;/p&#62;
&#60;p&#62;It would be easier to just create the form, cut and paste, fix up the element_* ID's, action a PHP script that has the checks in it and you're off and running.  I have a nice script that I'm working on for a newsletter subscription service (ezmlm) and this is what I have done.&#60;/p&#62;
&#60;p&#62;Maybe in a future release?  That would be a nice feature.&#60;/p&#62;
&#60;p&#62;HOIT!&#60;/p&#62;
&#60;p&#62;Saghalie&#60;br /&#62;
&#60;a href=&#34;http://www.beautiful-beginnings.org&#34; rel=&#34;nofollow&#34;&#62;http://www.beautiful-beginnings.org&#60;/a&#62;
&#60;/p&#62;</description>
</item>
<item>
<title>cyberk on "Verify email address with duplicate fields"</title>
<link>https://www.machform.com/forums/topic/verify-email-address-with-duplicate-fields#post-1430</link>
<pubDate>Tue, 22 Apr 2008 04:18:15 +0000</pubDate>
<dc:creator>cyberk</dc:creator>
<guid isPermaLink="false">1430@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Embedding. Although I suppose we could do the other if it will make things considerably easier.
&#60;/p&#62;</description>
</item>
<item>
<title>Saghalie on "Verify email address with duplicate fields"</title>
<link>https://www.machform.com/forums/topic/verify-email-address-with-duplicate-fields#post-1421</link>
<pubDate>Mon, 21 Apr 2008 06:40:50 +0000</pubDate>
<dc:creator>Saghalie</dc:creator>
<guid isPermaLink="false">1421@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Are you using the embed function for your client?  Or are you creating the form, cutting and pasting and sending that form off to your client?
&#60;/p&#62;</description>
</item>
<item>
<title>cyberk on "Verify email address with duplicate fields"</title>
<link>https://www.machform.com/forums/topic/verify-email-address-with-duplicate-fields#post-1420</link>
<pubDate>Mon, 21 Apr 2008 00:52:10 +0000</pubDate>
<dc:creator>cyberk</dc:creator>
<guid isPermaLink="false">1420@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;We've got a client that wants the user to enter their email address twice, and have the form verify that the two fields match.&#60;/p&#62;
&#60;p&#62;Can someone point me to the right place to hack this in? I'm an experienced PHP programmer so I just need a little nudge toward the right place to add this.&#60;/p&#62;
&#60;p&#62;Thanks!
&#60;/p&#62;</description>
</item>

</channel>
</rss>
