<?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 ID number on the forms</title>
<link>https://www.machform.com/forums/</link>
<description>MachForm Community Forums Topic: Reset ID number on the forms</description>
<language>en</language>
<pubDate>Sun, 03 May 2026 23:30:42 +0000</pubDate>

<item>
<title>yuniar on "Reset ID number on the forms"</title>
<link>https://www.machform.com/forums/topic/reset-id-number-on-the-forms#post-21770</link>
<pubDate>Mon, 15 Sep 2014 19:26:42 +0000</pubDate>
<dc:creator>yuniar</dc:creator>
<guid isPermaLink="false">21770@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;This will work on individual form only. It won't reset all your forms, unless you choose to delete them one by one.
&#60;/p&#62;</description>
</item>
<item>
<title>darnellsmith on "Reset ID number on the forms"</title>
<link>https://www.machform.com/forums/topic/reset-id-number-on-the-forms#post-21757</link>
<pubDate>Sat, 13 Sep 2014 10:35:40 +0000</pubDate>
<dc:creator>darnellsmith</dc:creator>
<guid isPermaLink="false">21757@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Does this deleting and resetting of form IDs work for an individual form or across all forms in the database? What if I just want to reset one form back to 1 after deleting all the content?
&#60;/p&#62;</description>
</item>
<item>
<title>MvdL79 on "Reset ID number on the forms"</title>
<link>https://www.machform.com/forums/topic/reset-id-number-on-the-forms#post-14837</link>
<pubDate>Tue, 22 May 2012 20:27:47 +0000</pubDate>
<dc:creator>MvdL79</dc:creator>
<guid isPermaLink="false">14837@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Thanks man! That worked.&#60;/p&#62;
&#60;p&#62;* bookmarked for future reference *
&#60;/p&#62;</description>
</item>
<item>
<title>yuniar on "Reset ID number on the forms"</title>
<link>https://www.machform.com/forums/topic/reset-id-number-on-the-forms#post-14835</link>
<pubDate>Tue, 22 May 2012 20:02:01 +0000</pubDate>
<dc:creator>yuniar</dc:creator>
<guid isPermaLink="false">14835@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Try to delete all forms again and then run these queries:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;DELETE FROM ap_forms;
DELETE FROM ap_form_elements;
DELETE FROM ap_element_options;
DELETE FROM ap_element_prices;
ALTER TABLE ap_forms AUTO_INCREMENT = 1;&#60;/code&#62;&#60;/pre&#62;</description>
</item>
<item>
<title>MvdL79 on "Reset ID number on the forms"</title>
<link>https://www.machform.com/forums/topic/reset-id-number-on-the-forms#post-14831</link>
<pubDate>Tue, 22 May 2012 13:57:21 +0000</pubDate>
<dc:creator>MvdL79</dc:creator>
<guid isPermaLink="false">14831@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Awesome thanks!&#60;/p&#62;
&#60;p&#62;//sidenote&#60;/p&#62;
&#60;p&#62;In (my) version of Machform 3.2 the variable 'MF_CONF_TRUE_DELETE' was already set to 'true' (by default installation).&#60;/p&#62;
&#60;p&#62;//update&#60;/p&#62;
&#60;p&#62;I deleted all forms, checked the config file (as mentioned above), but it was set correct and ran the SQL from PhpMyAdmin. It said it worked. Went back to Machform and created a new form, but it starts with ID 2, instead of ID 1...? Any ideas?
&#60;/p&#62;</description>
</item>
<item>
<title>yuniar on "Reset ID number on the forms"</title>
<link>https://www.machform.com/forums/topic/reset-id-number-on-the-forms#post-14827</link>
<pubDate>Mon, 21 May 2012 22:55:12 +0000</pubDate>
<dc:creator>yuniar</dc:creator>
<guid isPermaLink="false">14827@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;to reset the ID numbers of the forms, you will also need to do the above modification with config.php file.&#60;br /&#62;
set this value:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;define(&#38;#39;MF_CONF_TRUE_DELETE&#38;#39;,true);&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;then once you have all the forms deleted already, run this SQL query:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;ALTER TABLE ap_forms AUTO_INCREMENT = 1;&#60;/code&#62;&#60;/pre&#62;</description>
</item>
<item>
<title>MvdL79 on "Reset ID number on the forms"</title>
<link>https://www.machform.com/forums/topic/reset-id-number-on-the-forms#post-14819</link>
<pubDate>Mon, 21 May 2012 20:01:05 +0000</pubDate>
<dc:creator>MvdL79</dc:creator>
<guid isPermaLink="false">14819@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;And how do you do this with the ID numbers of forms?&#60;/p&#62;
&#60;p&#62;I deleted all forms, because I was still test driving my forms, but when I create a new form, it will continue with the numbering instead of starting with 1 again.&#60;/p&#62;
&#60;p&#62;Please explain how to reset this as well. I think, after explaining, it's should be stickied as well. ;)
&#60;/p&#62;</description>
</item>
<item>
<title>Panort on "Reset ID number on the forms"</title>
<link>https://www.machform.com/forums/topic/reset-id-number-on-the-forms#post-14357</link>
<pubDate>Sun, 15 Apr 2012 09:12:42 +0000</pubDate>
<dc:creator>Panort</dc:creator>
<guid isPermaLink="false">14357@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Thank you very much. I am using V3.1 and so far I like it a lot. Thanks for your quick response. I did what you instructed and it is going back to 1.
&#60;/p&#62;</description>
</item>
<item>
<title>yuniar on "Reset ID number on the forms"</title>
<link>https://www.machform.com/forums/topic/reset-id-number-on-the-forms#post-14354</link>
<pubDate>Sat, 14 Apr 2012 11:03:54 +0000</pubDate>
<dc:creator>yuniar</dc:creator>
<guid isPermaLink="false">14354@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;If you are using v3, you don't need to do the above.&#60;br /&#62;
So, within v3, by default when you delete any entries they aren't actually being deleted from the table.&#60;/p&#62;
&#60;p&#62;To disable this functionality, thus deleting the entries permanently, you need to edit your config.php file, search for this line:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;define(&#38;#39;MF_CONF_TRUE_DELETE&#38;#39;,false);&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;change it to become:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;define(&#38;#39;MF_CONF_TRUE_DELETE&#38;#39;,true);&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;You can then reset the ID numbers simply by deleting ALL entries.&#60;br /&#62;
If you already have empty entries, submit a new entry and then delete the entry by clicking &#34;Select all entries in this form&#34; and hit the delete button.&#60;/p&#62;
&#60;p&#62;That would delete all entries within that form and reset the ID number.&#60;/p&#62;
&#60;p&#62;&#60;img src=&#34;http://farm6.staticflickr.com/5443/7075537437_038b2371dd_o.png&#34; /&#62;
&#60;/p&#62;</description>
</item>
<item>
<title>Panort on "Reset ID number on the forms"</title>
<link>https://www.machform.com/forums/topic/reset-id-number-on-the-forms#post-14352</link>
<pubDate>Sat, 14 Apr 2012 10:28:07 +0000</pubDate>
<dc:creator>Panort</dc:creator>
<guid isPermaLink="false">14352@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;I tried this  &#60;/p&#62;
&#60;p&#62;&#38;lt;&#38;lt; To reset entry ID number, you need open PHPMyAdmin. Go to your database and run this SQL&#60;br /&#62;
ALTER TABLE ap_form_x AUTO_INCREMENT = 1;&#60;br /&#62;
Change &#34;x&#34; with your form id, it should be like this &#34;ap_form_2&#34;&#38;gt;&#38;gt;&#60;/p&#62;
&#60;p&#62;but it did not work. I had deleted all the entries and then ran the SQL as described above and the ID number did not reset. Any other suggestions?&#60;br /&#62;
We use the forms to sign up for different golf days. When that day is over I reuse the form after deleting the names instead of making a new form every week. I would like the ID number to reset so we can see quickly how many have signed up each golf day.
&#60;/p&#62;</description>
</item>

</channel>
</rss>
