<?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: No. of entry do not change after copy</title>
<link>https://www.machform.com/forums/</link>
<description>MachForm Community Forums Topic: No. of entry do not change after copy</description>
<language>en</language>
<pubDate>Mon, 04 May 2026 00:29:48 +0000</pubDate>

<item>
<title>yuniar on "No. of entry do not change after copy"</title>
<link>https://www.machform.com/forums/topic/no-of-entry-do-not-change-after-copy#post-6048</link>
<pubDate>Mon, 01 Jun 2009 15:06:35 +0000</pubDate>
<dc:creator>yuniar</dc:creator>
<guid isPermaLink="false">6048@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;1) Actually this is not a bug. It was designed that way for a purpose, so that each of your form entries has their own unique entry id (not just sequential number).&#60;/p&#62;
&#60;p&#62;If you need to reset the entry id after complete deletion, edit your &#34;manage_entries.php&#34;, search line 43 for this code:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;do_query(&#38;quot;truncate &#38;lt;code&#38;gt;ap_form_{$form_id}&#38;lt;/code&#38;gt;&#38;quot;);&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;below that code, add this:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;do_query(&#38;quot;alter table &#38;lt;code&#38;gt;ap_form_{$form_id}&#38;lt;/code&#38;gt; AUTO_INCREMENT = 1&#38;quot;);&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;2) Simply modify line 314 of &#34;includes/entry-functions.php&#34;. This line:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;$entry_details[$i][&#38;#39;value&#38;#39;] = $entry_data[&#38;#39;element_&#38;#39;.$element_id.&#38;#39;_1&#38;#39;].&#38;#39;  &#38;#39;.$entry_data[&#38;#39;element_&#38;#39;.$element_id.&#38;#39;_2&#38;#39;].
&#38;#39;&#38;lt;br /&#38;gt;&#38;#39;.
$entry_data[&#38;#39;element_&#38;#39;.$element_id.&#38;#39;_3&#38;#39;].&#38;#39; &#38;#39;.$entry_data[&#38;#39;element_&#38;#39;.$element_id.&#38;#39;_4&#38;#39;].&#38;#39; &#38;#39;.$entry_data[&#38;#39;element_&#38;#39;.$element_id.&#38;#39;_5&#38;#39;].
&#38;#39;&#38;lt;br /&#38;gt;&#38;#39;.
$entry_data[&#38;#39;element_&#38;#39;.$element_id.&#38;#39;_6&#38;#39;];&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;rearrange element 3,4,5
&#60;/p&#62;</description>
</item>
<item>
<title>candy on "No. of entry do not change after copy"</title>
<link>https://www.machform.com/forums/topic/no-of-entry-do-not-change-after-copy#post-6044</link>
<pubDate>Mon, 01 Jun 2009 02:25:16 +0000</pubDate>
<dc:creator>candy</dc:creator>
<guid isPermaLink="false">6044@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Hi,&#60;br /&#62;
i have duplicated my first form to have a litte template for my second one.&#60;br /&#62;
The problem is, if i delete all entries from one of the forms, the script count further.&#60;/p&#62;
&#60;p&#62;example:&#60;/p&#62;
&#60;p&#62;before:&#60;br /&#62;
3. Mr. Padding&#60;br /&#62;
2. Mrs. Test&#60;br /&#62;
1. Mr. Smith&#60;/p&#62;
&#60;p&#62;after i have delete all entries:&#60;br /&#62;
It's starts with the 4th entry.&#60;/p&#62;
&#60;p&#62;The bug is in both forms!&#60;/p&#62;
&#60;p&#62;Please help me.&#60;/p&#62;
&#60;p&#62;Thank you&#60;/p&#62;
&#60;p&#62;//UPDATE:&#60;br /&#62;
I have for a test, the entries of both forms deleted. The freaky thing is, if I fill in both form, the 2.form starts with No.5 and the 1.form starts with No.1. Realy freaky.&#60;/p&#62;
&#60;p&#62;//UPDATE2:&#60;br /&#62;
After the test I have deleted all entries of both forms. And it works. &#60;/p&#62;
&#60;p&#62;Is it a coincidence?&#60;/p&#62;
&#60;p&#62;--------------------------------------------&#60;br /&#62;
2.Question:&#60;/p&#62;
&#60;p&#62;The user get the confirming mail in the following order by the address:&#60;/p&#62;
&#60;p&#62;address_city, address_state address_zip&#60;/p&#62;
&#60;p&#62;but I want to have it like this:&#60;br /&#62;
address_zip address_city - address_state&#60;/p&#62;
&#60;p&#62;I can not find any line to modify it.
&#60;/p&#62;</description>
</item>

</channel>
</rss>
