<?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: Turn off form entries</title>
<link>https://www.machform.com/forums/</link>
<description>MachForm Community Forums Topic: Turn off form entries</description>
<language>en</language>
<pubDate>Sun, 03 May 2026 18:40:02 +0000</pubDate>

<item>
<title>justinmartin on "Turn off form entries"</title>
<link>https://www.machform.com/forums/topic/turn-off-form-entries#post-17304</link>
<pubDate>Tue, 19 Feb 2013 04:56:27 +0000</pubDate>
<dc:creator>justinmartin</dc:creator>
<guid isPermaLink="false">17304@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Yuniar, we will be implementing this on both single and multipage forms.&#60;/p&#62;
&#60;p&#62;Thanks for all of the updates in 3.4.  They have been great!
&#60;/p&#62;</description>
</item>
<item>
<title>yuniar on "Turn off form entries"</title>
<link>https://www.machform.com/forums/topic/turn-off-form-entries#post-17287</link>
<pubDate>Mon, 18 Feb 2013 21:02:48 +0000</pubDate>
<dc:creator>yuniar</dc:creator>
<guid isPermaLink="false">17287@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Giorgio -- If you are using v3.4, having single page form and having review disabled, you can edit your &#34;includes/post-functions.php&#34; file. Search around line 2561 for this code:&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;if(empty($error_elements) &#38;#38;&#38;#38; empty($process_result[&#38;#39;custom_error&#38;#39;])){
			$process_result[&#38;#39;status&#38;#39;] = true;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;exactly below that code, add this code:&#60;br /&#62;
&#60;a href=&#34;https://gist.github.com/anonymous/bdc43a8e896cebea057a&#34; rel=&#34;nofollow&#34;&#62;https://gist.github.com/anonymous/bdc43a8e896cebea057a&#60;/a&#62;
&#60;/p&#62;</description>
</item>
<item>
<title>Giorgio on "Turn off form entries"</title>
<link>https://www.machform.com/forums/topic/turn-off-form-entries#post-17264</link>
<pubDate>Sun, 17 Feb 2013 00:02:49 +0000</pubDate>
<dc:creator>Giorgio</dc:creator>
<guid isPermaLink="false">17264@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Hi, I agree that this feature could be added in the next version.&#60;br /&#62;
In the meantime Yuniar, I would need to optionally disable saving entries to db in version 3.4 with:&#60;br /&#62;
- single page form;&#60;br /&#62;
- having &#34;review&#34; disabled;&#60;/p&#62;
&#60;p&#62;Thank you very much!
&#60;/p&#62;</description>
</item>
<item>
<title>williamansley on "Turn off form entries"</title>
<link>https://www.machform.com/forums/topic/turn-off-form-entries#post-17240</link>
<pubDate>Fri, 15 Feb 2013 23:31:33 +0000</pubDate>
<dc:creator>williamansley</dc:creator>
<guid isPermaLink="false">17240@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Yuniar, please consider building this functionality into Machform as a new feature. I can see that it might be useful for some applications at the community college where I work. It is marvelous that you provide so much help in customizing Machform at the code level, but after my experience of having to update from a heavily customized Machform 2 to 3, I am very reluctant to do any more customization directly to the code.
&#60;/p&#62;</description>
</item>
<item>
<title>yuniar on "Turn off form entries"</title>
<link>https://www.machform.com/forums/topic/turn-off-form-entries#post-17235</link>
<pubDate>Fri, 15 Feb 2013 13:12:39 +0000</pubDate>
<dc:creator>yuniar</dc:creator>
<guid isPermaLink="false">17235@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;There are slight changes within v3.4 and the code is different, depend on your form.&#60;br /&#62;
1) are you using single page or multipage form?&#60;br /&#62;
2) is your form having &#34;review&#34; enabled or not?
&#60;/p&#62;</description>
</item>
<item>
<title>justinmartin on "Turn off form entries"</title>
<link>https://www.machform.com/forums/topic/turn-off-form-entries#post-17220</link>
<pubDate>Fri, 15 Feb 2013 06:06:03 +0000</pubDate>
<dc:creator>justinmartin</dc:creator>
<guid isPermaLink="false">17220@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;I need to implement this on 3.4, but I am unable to locate the location mentioned above.  Is this still possible in 3.4?
&#60;/p&#62;</description>
</item>
<item>
<title>joshualowery on "Turn off form entries"</title>
<link>https://www.machform.com/forums/topic/turn-off-form-entries#post-13382</link>
<pubDate>Mon, 30 Jan 2012 23:14:11 +0000</pubDate>
<dc:creator>joshualowery</dc:creator>
<guid isPermaLink="false">13382@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Works perfectly! Thanks so much for the assistance!
&#60;/p&#62;</description>
</item>
<item>
<title>yuniar on "Turn off form entries"</title>
<link>https://www.machform.com/forums/topic/turn-off-form-entries#post-13376</link>
<pubDate>Mon, 30 Jan 2012 11:28:44 +0000</pubDate>
<dc:creator>yuniar</dc:creator>
<guid isPermaLink="false">13376@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Ah.. it seems you have it on the wrong line. It should be around line 1217.&#60;br /&#62;
The block of code is like this:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;//if there is any error message or elements, send false as status
if(empty($error_elements) &#38;#38;&#38;#38; empty($process_result[&#38;#39;custom_error&#38;#39;])){
	$process_result[&#38;#39;status&#38;#39;] = true;

        //PUT CUSTOM CODE HERE......	

	//if &#38;#39;form review&#38;#39; enabled, send review_id
	if(!empty($form_review)){
		$process_result[&#38;#39;review_id&#38;#39;]   = $record_insert_id;
	}
}else{
	$process_result[&#38;#39;status&#38;#39;] = false;
}&#60;/code&#62;&#60;/pre&#62;</description>
</item>
<item>
<title>joshualowery on "Turn off form entries"</title>
<link>https://www.machform.com/forums/topic/turn-off-form-entries#post-13375</link>
<pubDate>Mon, 30 Jan 2012 11:17:54 +0000</pubDate>
<dc:creator>joshualowery</dc:creator>
<guid isPermaLink="false">13375@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;hmm, that doesn't seem to work. Here is the code that I have in that file.&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;//this function handle password submission and general form submission
		if(isset($input[&#38;#39;password&#38;#39;])){ //if there is password input, do validation
			$query = &#38;quot;select count(form_id) valid_password from &#38;lt;code&#38;gt;ap_forms&#38;lt;/code&#38;gt; where form_password=&#38;#39;{$input[&#38;#39;password&#38;#39;]}&#38;#39;&#38;quot;;
			$result = do_query($query);
			$row = do_fetch_result($result);
			if(!empty($row[&#38;#39;valid_password&#38;#39;])){
				$process_result[&#38;#39;status&#38;#39;] = true;
				//LINES 1211-1213 ARE CUSTOM AND KEEP ENTRIES FROM BEING RECORDED IN THE DATABASE
				if(in_array($form_id,array(1,2,3,4,5))){
					do_query(&#38;quot;delete from ap_form_{$form_id}&#38;quot;);
				}
				$_SESSION[&#38;#39;user_authenticated&#38;#39;] = $form_id;
			}else{
				$process_result[&#38;#39;status&#38;#39;] = false;
				$process_result[&#38;#39;custom_error&#38;#39;] = $lang[&#38;#39;form_pass_invalid&#38;#39;];
			}

			return $process_result;
		}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;I verified that the file uploaded correctly and deleted all entries for form #3. Then I filled out form #3. I received an email with the information and the form was logged as normal in the database.
&#60;/p&#62;</description>
</item>
<item>
<title>yuniar on "Turn off form entries"</title>
<link>https://www.machform.com/forums/topic/turn-off-form-entries#post-13368</link>
<pubDate>Mon, 30 Jan 2012 07:55:31 +0000</pubDate>
<dc:creator>yuniar</dc:creator>
<guid isPermaLink="false">13368@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Ok, you'll need to edit &#34;includes/post-functions.php&#34; file for this.&#60;br /&#62;
Let say you need to disable the entries for forms with these id numbers: 3, 5, 9, 15&#60;/p&#62;
&#60;p&#62;Then search around line 1217 and you'll find this code:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;$process_result[&#38;#39;status&#38;#39;] = true;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;exactly below that line, add this block of code:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;if(in_array($form_id,array(3,5,9,15))){
    do_query(&#38;quot;delete from ap_form_{$form_id}&#38;quot;);
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;that should do it.
&#60;/p&#62;</description>
</item>
<item>
<title>joshualowery on "Turn off form entries"</title>
<link>https://www.machform.com/forums/topic/turn-off-form-entries#post-13361</link>
<pubDate>Mon, 30 Jan 2012 05:14:24 +0000</pubDate>
<dc:creator>joshualowery</dc:creator>
<guid isPermaLink="false">13361@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Just a few of them.
&#60;/p&#62;</description>
</item>
<item>
<title>yuniar on "Turn off form entries"</title>
<link>https://www.machform.com/forums/topic/turn-off-form-entries#post-13346</link>
<pubDate>Sat, 28 Jan 2012 18:41:57 +0000</pubDate>
<dc:creator>yuniar</dc:creator>
<guid isPermaLink="false">13346@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Hi Josh,&#60;/p&#62;
&#60;p&#62;It is possible to delete the entry immediately after the email being sent.&#60;br /&#62;
Do you need to do this for all of your forms or just few of them?
&#60;/p&#62;</description>
</item>
<item>
<title>joshualowery on "Turn off form entries"</title>
<link>https://www.machform.com/forums/topic/turn-off-form-entries#post-13331</link>
<pubDate>Fri, 27 Jan 2012 23:53:09 +0000</pubDate>
<dc:creator>joshualowery</dc:creator>
<guid isPermaLink="false">13331@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Hello,&#60;/p&#62;
&#60;p&#62;My client is requesting sensitive information from the user and only wants the information emailed to them. Is it possible to receive a submission from the user, send that information to an email address, but not have the information stored in the database? Or is it possible to auto-delete entries from the database using a cron (so I could delete them every 5 minutes or so).&#60;/p&#62;
&#60;p&#62;Thank you very much for the assistance,&#60;br /&#62;
Josh
&#60;/p&#62;</description>
</item>

</channel>
</rss>
