<?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: Two Issues: Editing Entries &#38; Number Fields</title>
		<link>https://legacy.forums.gravityhelp.com/topic/two-issues-editing-entries-number-fields</link>
		<description>Gravity Support Forums Topic: Two Issues: Editing Entries &amp; Number Fields</description>
		<language>en-US</language>
		<pubDate>Sat, 04 Apr 2026 12:20:15 +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/two-issues-editing-entries-number-fields" rel="self" type="application/rss+xml" />

		<item>
			<title>Alex Cancado on "Two Issues: Editing Entries &#38; Number Fields"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/two-issues-editing-entries-number-fields#post-3926</link>
			<pubDate>Thu, 11 Mar 2010 16:06:21 +0000</pubDate>
			<dc:creator>Alex Cancado</dc:creator>
			<guid isPermaLink="false">3926@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;newport,&#60;br /&#62;
Thanks for taking the time to debug these issues. We will take care of them in the next release.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Carl Hancock on "Two Issues: Editing Entries &#38; Number Fields"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/two-issues-editing-entries-number-fields#post-3922</link>
			<pubDate>Thu, 11 Mar 2010 12:17:28 +0000</pubDate>
			<dc:creator>Carl Hancock</dc:creator>
			<guid isPermaLink="false">3922@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Thanks! We will look at both of these issues for the next release.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>wunderdojo on "Two Issues: Editing Entries &#38; Number Fields"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/two-issues-editing-entries-number-fields#post-3911</link>
			<pubDate>Thu, 11 Mar 2010 00:56:38 +0000</pubDate>
			<dc:creator>wunderdojo</dc:creator>
			<guid isPermaLink="false">3911@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Here's the answer to the first part -- the issue with empty date fields. It's submitting an array with three empty values -- array(1=&#38;gt;, 2=&#38;gt;, 3=&#38;gt;) -- hence the record in the dbase.&#60;/p&#62;
&#60;p&#62;The hack to fix it is to open forms_model.php and after line 915&#60;br /&#62;
&#60;code&#62;$value = $_POST[$input_name];&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;add&#60;br /&#62;
&#60;code&#62;&#60;br /&#62;
  //my empty date field correction here&#60;br /&#62;
        if($field['type']=='date' &#38;amp;&#38;amp; empty($value['0'])){&#60;br /&#62;
       $value = self::get_default_value($field, $input_id);&#60;br /&#62;
        }&#60;br /&#62;
&#60;/code&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>wunderdojo on "Two Issues: Editing Entries &#38; Number Fields"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/two-issues-editing-entries-number-fields#post-3910</link>
			<pubDate>Thu, 11 Mar 2010 00:14:01 +0000</pubDate>
			<dc:creator>wunderdojo</dc:creator>
			<guid isPermaLink="false">3910@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Came across two issues recently with a form I'm using. I have 10 conditional fields that display based on the number selected from a drop down menu. If the user selects three, then three of the conditional fields are displayed. The conditional fields are date fields using the Date Field input type, not date picker.&#60;/p&#62;
&#60;p&#62;Here's the problem. In the entries list if you view an entry with empty fields hidden, it initially works great. If the user selected 1 from the drop down menu and only filled out one date field, only that field is displayed. HOWEVER, if you edit that entry, after editing all of the unused date fields are displayed with &#34;array ()&#34; as the value. I haven't gone into the code yet to do a fix, but the issue is that the date field array needs to be checked to see if it is empty and if so, not entered into the dbase.&#60;/p&#62;
&#60;p&#62;Problem number two. I have another field that is only for admin use, called &#34;Amount Paid.&#34; I had assigned a default value of zero, using a number field. The idea was that people could fill out the form and submit payment. When payment was received, an admin could go in and update that field. The issue here is that if the amount is 0 (zero) the field doesn't display or record that value in the dbase. If you manually edit the record and enter 0, nothing. If you use 0.00, works like you'd expect. Again, haven't gone into the code to correct this yet.&#60;/p&#62;
&#60;p&#62;If these aren't bugs and I'm missing something, let me know, otherwise, FYI for the next revision.&#60;/p&#62;
&#60;p&#62;Cheers.
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
