<?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: Reset amount of entries and adding image to submission emails?</title>
<link>https://www.machform.com/forums/</link>
<description>MachForm Community Forums Topic: Reset amount of entries and adding image to submission emails?</description>
<language>en</language>
<pubDate>Sat, 07 Nov 2026 02:14:15 +0000</pubDate>

<item>
<title>MvdL79 on "Reset amount of entries and adding image to submission emails?"</title>
<link>https://www.machform.com/forums/topic/how-to-reset-the-form-count-number-of-entries#post-7204</link>
<pubDate>Fri, 04 Sep 2009 14:36:33 +0000</pubDate>
<dc:creator>MvdL79</dc:creator>
<guid isPermaLink="false">7204@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Damn... Why couldn't I think of that.&#60;br /&#62;
You really make me look stupid. ;)&#60;/p&#62;
&#60;p&#62;Thanks this will of course work without problems. Thank you very much!
&#60;/p&#62;</description>
</item>
<item>
<title>yuniar on "Reset amount of entries and adding image to submission emails?"</title>
<link>https://www.machform.com/forums/topic/how-to-reset-the-form-count-number-of-entries#post-7173</link>
<pubDate>Wed, 02 Sep 2009 21:53:25 +0000</pubDate>
<dc:creator>yuniar</dc:creator>
<guid isPermaLink="false">7173@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;This one is quite difficult to answer without seeing the whole code on your redirect page.&#60;/p&#62;
&#60;p&#62;However, here is one way to do it. Create another static page which contain the text &#34;you are not authorized bla bla....&#34;.&#60;/p&#62;
&#60;p&#62;Let say you save it as unauthorized.php&#60;/p&#62;
&#60;p&#62;Then put this code into your redirect page:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;&#38;lt;?php
	session_start();
	if($_SESSION[&#38;#39;is_valid_user&#38;#39;] !== true){
		header(&#38;quot;Location: unauthorized.php&#38;quot;);
		exit;
	}
?&#38;gt;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;that should do it.
&#60;/p&#62;</description>
</item>
<item>
<title>MvdL79 on "Reset amount of entries and adding image to submission emails?"</title>
<link>https://www.machform.com/forums/topic/how-to-reset-the-form-count-number-of-entries#post-7166</link>
<pubDate>Wed, 02 Sep 2009 14:48:50 +0000</pubDate>
<dc:creator>MvdL79</dc:creator>
<guid isPermaLink="false">7166@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;* bump *
&#60;/p&#62;</description>
</item>
<item>
<title>MvdL79 on "Reset amount of entries and adding image to submission emails?"</title>
<link>https://www.machform.com/forums/topic/how-to-reset-the-form-count-number-of-entries#post-7156</link>
<pubDate>Tue, 01 Sep 2009 15:22:53 +0000</pubDate>
<dc:creator>MvdL79</dc:creator>
<guid isPermaLink="false">7156@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Sorry if I was not clear, but I want the message (You are not authorized to see this page) to be displayed in my current website's layout, without breaking it up.&#60;/p&#62;
&#60;p&#62;Currently it shows a white page with &#34;You are not authorized to see this page&#34; and nothing else. :(
&#60;/p&#62;</description>
</item>
<item>
<title>MvdL79 on "Reset amount of entries and adding image to submission emails?"</title>
<link>https://www.machform.com/forums/topic/how-to-reset-the-form-count-number-of-entries#post-7141</link>
<pubDate>Mon, 31 Aug 2009 18:11:01 +0000</pubDate>
<dc:creator>MvdL79</dc:creator>
<guid isPermaLink="false">7141@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;One last thing;&#60;/p&#62;
&#60;p&#62;I am also limiting access to the redirect page, so you can only access it when you filling out the form and submitting it.&#60;/p&#62;
&#60;p&#62;For which I use the following code:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;&#38;lt;?php
	session_start();
	if($_SESSION[&#38;#39;is_valid_user&#38;#39;] !== true){
		die(&#38;quot;You are not authorized to see this page&#38;quot;);
	}
?&#38;gt;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;It works great, however it breaks up my website's page layout.&#60;br /&#62;
Anyway to post the &#34;You are not authorized to see this page&#34;-message WITHOUT breaking the page layout?
&#60;/p&#62;</description>
</item>
<item>
<title>MvdL79 on "Reset amount of entries and adding image to submission emails?"</title>
<link>https://www.machform.com/forums/topic/how-to-reset-the-form-count-number-of-entries#post-7139</link>
<pubDate>Mon, 31 Aug 2009 16:08:24 +0000</pubDate>
<dc:creator>MvdL79</dc:creator>
<guid isPermaLink="false">7139@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;I have added it and know it finally works! :D&#60;br /&#62;
Thanks!
&#60;/p&#62;</description>
</item>
<item>
<title>redityo on "Reset amount of entries and adding image to submission emails?"</title>
<link>https://www.machform.com/forums/topic/how-to-reset-the-form-count-number-of-entries#post-7138</link>
<pubDate>Mon, 31 Aug 2009 12:28:10 +0000</pubDate>
<dc:creator>redityo</dc:creator>
<guid isPermaLink="false">7138@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Have you put this code to your redirect page ?&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;&#38;lt;?php session_start(); ?&#38;gt;&#60;/code&#62;&#60;/pre&#62;</description>
</item>
<item>
<title>MvdL79 on "Reset amount of entries and adding image to submission emails?"</title>
<link>https://www.machform.com/forums/topic/how-to-reset-the-form-count-number-of-entries#post-7124</link>
<pubDate>Sat, 29 Aug 2009 17:25:38 +0000</pubDate>
<dc:creator>MvdL79</dc:creator>
<guid isPermaLink="false">7124@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;1. I will give the SQL a go when I am done.&#60;/p&#62;
&#60;p&#62;2. I changed both codes and now it works! Thanks.&#60;/p&#62;
&#60;p&#62;3. I checked the element id, but it's correct. It should use the element from the Template Variables from the CP, right?&#60;/p&#62;
&#60;p&#62;Also if I use:&#60;/p&#62;
&#60;p&#62;&#60;code&#62;&#38;lt;?php print_r($_SESSION[&#38;#39;form_data&#38;#39;]);?&#38;gt;&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;It doesn't show anything either. :S&#60;br /&#62;
Looks like it doesn't use the data from the temporary session?&#60;/p&#62;
&#60;p&#62;//edit&#60;/p&#62;
&#60;p&#62;Well I have added the following:&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;$_SESSION[&#38;#39;is_valid_user&#38;#39;] = true;
$_SESSION[&#38;#39;form_data&#38;#39;] = $table_data;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;after each:&#60;/p&#62;
&#60;p&#62;&#60;code&#62;$process_result[&#38;#39;status&#38;#39;] = true;&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;About 4 or 5 times. But still doesn't display anything!
&#60;/p&#62;</description>
</item>
<item>
<title>redityo on "Reset amount of entries and adding image to submission emails?"</title>
<link>https://www.machform.com/forums/topic/how-to-reset-the-form-count-number-of-entries#post-7119</link>
<pubDate>Sat, 29 Aug 2009 15:10:03 +0000</pubDate>
<dc:creator>redityo</dc:creator>
<guid isPermaLink="false">7119@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Hello,&#60;/p&#62;
&#60;p&#62;For your questions : &#60;/p&#62;
&#60;p&#62;1. To reset entry ID number, you need open PHPMyAdmin. Go to your database and run this SQL &#60;/p&#62;
&#60;pre&#62;&#60;code&#62;ALTER TABLE ap_form_x AUTO_INCREMENT = 1;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Change &#34;x&#34; with your form id, it should be like this &#34;ap_form_2&#34;&#60;/p&#62;
&#60;p&#62;2. When hiding the empty field in review page, there are 2 different location to put/change the code. First for standard embed code (line 2334 ~ 2350) and second to advance embed code (line 2438 ~ 2453), make sure you've put the code in both location. Otherwise please post your code so I can check it.&#60;/p&#62;
&#60;p&#62;3. It still work with me .. have you change the element id ?
&#60;/p&#62;</description>
</item>
<item>
<title>MvdL79 on "Reset amount of entries and adding image to submission emails?"</title>
<link>https://www.machform.com/forums/topic/how-to-reset-the-form-count-number-of-entries#post-7117</link>
<pubDate>Sat, 29 Aug 2009 14:02:36 +0000</pubDate>
<dc:creator>MvdL79</dc:creator>
<guid isPermaLink="false">7117@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;* bump *
&#60;/p&#62;</description>
</item>
<item>
<title>MvdL79 on "Reset amount of entries and adding image to submission emails?"</title>
<link>https://www.machform.com/forums/topic/how-to-reset-the-form-count-number-of-entries#post-7105</link>
<pubDate>Fri, 28 Aug 2009 15:23:42 +0000</pubDate>
<dc:creator>MvdL79</dc:creator>
<guid isPermaLink="false">7105@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Anyone?
&#60;/p&#62;</description>
</item>
<item>
<title>MvdL79 on "Reset amount of entries and adding image to submission emails?"</title>
<link>https://www.machform.com/forums/topic/how-to-reset-the-form-count-number-of-entries#post-7096</link>
<pubDate>Fri, 28 Aug 2009 00:55:26 +0000</pubDate>
<dc:creator>MvdL79</dc:creator>
<guid isPermaLink="false">7096@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;And another question and as far as I can tell, this will be really the last one. Cause after this, my form is like I want it to be!! :)&#60;/p&#62;
&#60;p&#62;I want to use the name of the person who filled in the form on the redirected page (after form submission). However no matter what I do, it doesn't show their names on the redirected page.&#60;/p&#62;
&#60;p&#62;In this post, by Yuniar, he showed me how to do this, however it doesn't work anymore with the newer MachForm (or I am doing something wrong). The post is located here: &#60;a href=&#34;http://www.appnitro.com/forums/topic/how-to-limit-access-to-redirect-page-after-submission?replies=13#post-3170&#34; rel=&#34;nofollow&#34;&#62;http://www.appnitro.com/forums/topic/how-to-limit-access-to-redirect-page-after-submission?replies=13#post-3170&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;I quote Yuniar:&#60;/p&#62;
&#60;p&#62;Add this:&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;$_SESSION[&#38;#39;is_valid_user&#38;#39;] = true;
$_SESSION[&#38;#39;form_data&#38;#39;] = $table_data;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Underneath here:&#60;br /&#62;
&#60;code&#62;$process_result[&#38;#39;status&#38;#39;] = true;&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;And use &#60;code&#62;echo &#38;#39;Dear Sir/Madam &#38;#39;. $_SESSION[&#38;#39;form_data&#38;#39;][&#38;#39;element_2&#38;#39;];&#60;/code&#62; in the succes(.php) page to call it, however nothing gets displayed. And yes I replaced the element with the correct one from my form. Any advice?
&#60;/p&#62;</description>
</item>
<item>
<title>MvdL79 on "Reset amount of entries and adding image to submission emails?"</title>
<link>https://www.machform.com/forums/topic/how-to-reset-the-form-count-number-of-entries#post-7093</link>
<pubDate>Thu, 27 Aug 2009 22:57:58 +0000</pubDate>
<dc:creator>MvdL79</dc:creator>
<guid isPermaLink="false">7093@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;And another question! :D&#60;/p&#62;
&#60;p&#62;I want to get rid of the fields on the &#34;Review Page&#34; which are not filled in.&#60;/p&#62;
&#60;p&#62;I already read and tried the solution provided at: &#60;a href=&#34;http://www.appnitro.com/forums/topic/hiding-emptydefault-value-in-review-page?replies=4#post-6089&#34; rel=&#34;nofollow&#34;&#62;http://www.appnitro.com/forums/topic/hiding-emptydefault-value-in-review-page?replies=4#post-6089&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;However it doesn't work for me?&#60;br /&#62;
If I edit the code, like provided, it still shows the field in the &#34;Review Page&#34; which is empty. While it shouldn't appear at all.&#60;/p&#62;
&#60;p&#62;I think the code has been updated since then, cause the shown lines (2438-2453) do not apply anymore as well. It seems the code has been cut down.
&#60;/p&#62;</description>
</item>
<item>
<title>MvdL79 on "Reset amount of entries and adding image to submission emails?"</title>
<link>https://www.machform.com/forums/topic/how-to-reset-the-form-count-number-of-entries#post-7092</link>
<pubDate>Thu, 27 Aug 2009 21:25:41 +0000</pubDate>
<dc:creator>MvdL79</dc:creator>
<guid isPermaLink="false">7092@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;(yes even more questions, but simple ones though)&#60;/p&#62;
&#60;p&#62;Question #1:&#60;br /&#62;
Maybe this is a really stupid question, but how does one reset the number of entries (form count) back to zero?&#60;/p&#62;
&#60;p&#62;I searched the forum, but nobody has asked this before?&#60;br /&#62;
...or did I overlook?&#60;/p&#62;
&#60;p&#62;Cause, even when I delete all the entries, it still keeps counting.&#60;/p&#62;
&#60;p&#62;Question #2:&#60;br /&#62;
Is it possible to ADD an image to the notifcation email for your clients? E.g. I am currently using: &#38;lt;img src&#38;gt; in the notification email. But is it possible to include the image in the email itself, instead of loading it from the website?&#60;/p&#62;
&#60;p&#62;Please advice. Thanks.
&#60;/p&#62;</description>
</item>

</channel>
</rss>
