<?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: Date Fields Auto-Populating</title>
<link>https://www.machform.com/forums/</link>
<description>MachForm Community Forums Topic: Date Fields Auto-Populating</description>
<language>en</language>
<pubDate>Mon, 04 May 2026 03:47:53 +0000</pubDate>

<item>
<title>yuniar on "Date Fields Auto-Populating"</title>
<link>https://www.machform.com/forums/topic/date-fields-auto-populating#post-5373</link>
<pubDate>Mon, 06 Apr 2009 15:18:52 +0000</pubDate>
<dc:creator>yuniar</dc:creator>
<guid isPermaLink="false">5373@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Thanks for the info.&#60;br /&#62;
This is apparently a bug with some of the code which display those date/time.&#60;/p&#62;
&#60;p&#62;To fix it, you need to modify &#60;strong&#62;includes/entry-functions.php&#60;/strong&#62; file.&#60;/p&#62;
&#60;p&#62;1) Line 76:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;if(!empty($entry_data[&#38;#39;element_&#38;#39;.$element_id])){&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;change it to become:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;if(!empty($entry_data[&#38;#39;element_&#38;#39;.$element_id])
&#38;#38;&#38;#38; ($entry_data[&#38;#39;element_&#38;#39;.$element_id] != &#38;#39;00:00:00&#38;#39;)){&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;2) Line 109 &#38;#38; 122:&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;if(!empty($entry_data[&#38;#39;element_&#38;#39;.$element_id])){&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;change it to become:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;if(!empty($entry_data[&#38;#39;element_&#38;#39;.$element_id])
&#38;#38;&#38;#38; ($entry_data[&#38;#39;element_&#38;#39;.$element_id] != &#38;#39;0000-00-00&#38;#39;)){&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;3) Line 297:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;if(!empty($entry_data[&#38;#39;element_&#38;#39;.$element_id])){&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;change to become:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;if(!empty($entry_data[&#38;#39;element_&#38;#39;.$element_id])
&#38;#38;&#38;#38; ($entry_data[&#38;#39;element_&#38;#39;.$element_id] != &#38;#39;00:00:00&#38;#39;)){&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;4) Line 334 &#38;#38; 342:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;if(!empty($entry_data[&#38;#39;element_&#38;#39;.$element_id])){&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;change it to become:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;if(!empty($entry_data[&#38;#39;element_&#38;#39;.$element_id])
&#38;#38;&#38;#38; ($entry_data[&#38;#39;element_&#38;#39;.$element_id] != &#38;#39;0000-00-00&#38;#39;)){&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;If you are having difficulty, please mail to: customer.service [at] appnitro.com&#60;br /&#62;
I'll send you the file.
&#60;/p&#62;</description>
</item>
<item>
<title>rx2 on "Date Fields Auto-Populating"</title>
<link>https://www.machform.com/forums/topic/date-fields-auto-populating#post-5360</link>
<pubDate>Sun, 05 Apr 2009 07:12:05 +0000</pubDate>
<dc:creator>rx2</dc:creator>
<guid isPermaLink="false">5360@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Hello.&#60;/p&#62;
&#60;p&#62;Linux (CentOS 5), running MySQL 5.0.67-community with PHP 5.25.
&#60;/p&#62;</description>
</item>
<item>
<title>yuniar on "Date Fields Auto-Populating"</title>
<link>https://www.machform.com/forums/topic/date-fields-auto-populating#post-5349</link>
<pubDate>Sat, 04 Apr 2009 13:23:21 +0000</pubDate>
<dc:creator>yuniar</dc:creator>
<guid isPermaLink="false">5349@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;What is your server operating system? Linux or Windows?
&#60;/p&#62;</description>
</item>
<item>
<title>rx2 on "Date Fields Auto-Populating"</title>
<link>https://www.machform.com/forums/topic/date-fields-auto-populating#post-5338</link>
<pubDate>Sat, 04 Apr 2009 00:13:06 +0000</pubDate>
<dc:creator>rx2</dc:creator>
<guid isPermaLink="false">5338@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;We have a form with a set of 3 appointment areas, 2 of which are admin only. Within each area we have a date field (for the appointment date) as well as two time fields, one for the start time, one for the end time.&#60;/p&#62;
&#60;p&#62;When we edit this form, the date fields in these admin only areas are always automatically populated with 12/31/1969 for the start date and 12:00am for the time fields, even though we haven't edited them ourselves.&#60;/p&#62;
&#60;p&#62;We only need these to be populated once we've changed them ourselves.
&#60;/p&#62;</description>
</item>

</channel>
</rss>
