<?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>Appnitro Software Forums Topic: Check field values are the same</title>
<link>http://www.appnitro.com/forums/</link>
<description>Appnitro Software Forums Topic: Check field values are the same</description>
<language>en</language>
<pubDate>Tue, 06 Jan 2009 23:57:48 +0000</pubDate>

<item>
<title>dennis on "Check field values are the same"</title>
<link>http://www.appnitro.com/forums/topic/check-field-values-are-the-same#post-2812</link>
<pubDate>Sat, 30 Aug 2008 15:50:10 +0000</pubDate>
<dc:creator>dennis</dc:creator>
<guid isPermaLink="false">2812@http://www.appnitro.com/forums/</guid>
<description>&#60;p&#62;Yep - that worked...   Thanks...
&#60;/p&#62;</description>
</item>
<item>
<title>yuniar on "Check field values are the same"</title>
<link>http://www.appnitro.com/forums/topic/check-field-values-are-the-same#post-2777</link>
<pubDate>Thu, 28 Aug 2008 18:24:18 +0000</pubDate>
<dc:creator>yuniar</dc:creator>
<guid isPermaLink="false">2777@http://www.appnitro.com/forums/</guid>
<description>&#60;p&#62;If you don't mind some modification, yes it is possible.&#60;/p&#62;
&#60;p&#62;Let say your form is having id = 3 and your email fields are having id &#60;strong&#62;element_1&#60;/strong&#62; and &#60;strong&#62;element_2&#60;/strong&#62; (check the HTML source of your form to see it.&#60;/p&#62;
&#60;p&#62;Edit your &#60;strong&#62;includes/post-functions.php&#60;/strong&#62;, around line 46 - 47 you'll find this code:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;$element_child_lookup[&#38;#39;address&#38;#39;]     = 5;
$element_child_lookup[&#38;#39;simple_name&#38;#39;] = 1;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Right above that code, insert this code:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;if($form_id == 3){
  if($input[&#38;#39;element_1&#38;#39;] != $input[&#38;#39;element_2&#38;#39;]){
    $process_result[&#38;#39;status&#38;#39;] = false;
    $process_result[&#38;#39;custom_error&#38;#39;] = &#38;#39;You must enter the same email address!&#38;#39;;
  }
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;That would do it.&#60;/p&#62;
&#60;p&#62;If you are having difficulty, let me know the URL of your form or just send it to customer.service [at] appnitro.com
&#60;/p&#62;</description>
</item>
<item>
<title>dennis on "Check field values are the same"</title>
<link>http://www.appnitro.com/forums/topic/check-field-values-are-the-same#post-2765</link>
<pubDate>Wed, 27 Aug 2008 19:29:55 +0000</pubDate>
<dc:creator>dennis</dc:creator>
<guid isPermaLink="false">2765@http://www.appnitro.com/forums/</guid>
<description>&#60;p&#62;I would like to have the email address entered twice and then a quick check to ensure that the values are the same.&#60;/p&#62;
&#60;p&#62;Is there a (hopefully easy) way to do this please ?&#60;/p&#62;
&#60;p&#62;Thanks..
&#60;/p&#62;</description>
</item>

</channel>
</rss>
