<?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: Zero values not displayed</title>
<link>http://www.appnitro.com/forums/</link>
<description>Appnitro Software Forums Topic: Zero values not displayed</description>
<language>en</language>
<pubDate>Fri, 21 Nov 2008 00:00:14 +0000</pubDate>

<item>
<title>yuniar on "Zero values not displayed"</title>
<link>http://www.appnitro.com/forums/topic/zero-values-not-displayed#post-2424</link>
<pubDate>Sat, 19 Jul 2008 12:09:07 +0000</pubDate>
<dc:creator>yuniar</dc:creator>
<guid isPermaLink="false">2424@http://www.appnitro.com/forums/</guid>
<description>&#60;p&#62;Ok, here's how to fix this.&#60;/p&#62;
&#60;p&#62;Edit your &#60;strong&#62;includes/entry-functions.php&#60;/strong&#62; file, search around line 414 for this code:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;if(!empty($entry_data[&#38;#39;element_&#38;#39;.$element_id])){
	$entry_details[$i][&#38;#39;value&#38;#39;] = $entry_data[&#38;#39;element_&#38;#39;.$element_id];
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;replace it with this one:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;if(isset($entry_data[&#38;#39;element_&#38;#39;.$element_id])){
	$entry_details[$i][&#38;#39;value&#38;#39;] = $entry_data[&#38;#39;element_&#38;#39;.$element_id];
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;That should display the zero values on the review page.&#60;/p&#62;
&#60;p&#62;To display the zero values on the email, edit &#60;strong&#62;includes/helper-functions.php&#60;/strong&#62;, search around line 330 for this code:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;if(empty($data[&#38;#39;value&#38;#39;]) &#124;&#124; $data[&#38;#39;value&#38;#39;] == &#38;#39;&#38;amp;nbsp;&#38;#39;){
	continue;
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;replace it with this one:&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;if((empty($data[&#38;#39;value&#38;#39;]) &#124;&#124; $data[&#38;#39;value&#38;#39;] == &#38;#39;&#38;amp;nbsp;&#38;#39;)
  &#38;#38;&#38;#38; $data[&#38;#39;value&#38;#39;] !== 0 &#38;#38;&#38;#38; $data[&#38;#39;value&#38;#39;] !== &#38;#39;0&#38;#39;){
	continue;
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Let me know if you found any problem.&#60;/p&#62;
&#60;p&#62;Thanks for reporting this. I'll include this fix into the next build.
&#60;/p&#62;</description>
</item>
<item>
<title>yuniar on "Zero values not displayed"</title>
<link>http://www.appnitro.com/forums/topic/zero-values-not-displayed#post-2422</link>
<pubDate>Sat, 19 Jul 2008 08:07:13 +0000</pubDate>
<dc:creator>yuniar</dc:creator>
<guid isPermaLink="false">2422@http://www.appnitro.com/forums/</guid>
<description>&#60;p&#62;You are right, this seems to be a bug.&#60;br /&#62;
I'm investigating this further and will post the solution here, as soon as possible.
&#60;/p&#62;</description>
</item>
<item>
<title>neilkelly on "Zero values not displayed"</title>
<link>http://www.appnitro.com/forums/topic/zero-values-not-displayed#post-2396</link>
<pubDate>Fri, 18 Jul 2008 16:47:18 +0000</pubDate>
<dc:creator>neilkelly</dc:creator>
<guid isPermaLink="false">2396@http://www.appnitro.com/forums/</guid>
<description>&#60;p&#62;On the confirmation screen and emails, fields with a value of zero, i.e. '0' are not displayed with any value, the value is simply blank.
&#60;/p&#62;</description>
</item>

</channel>
</rss>
