<?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: displaying entry number  in  success message</title>
<link>https://www.machform.com/forums/</link>
<description>MachForm Community Forums Topic: displaying entry number  in  success message</description>
<language>en</language>
<pubDate>Sun, 03 May 2026 23:07:41 +0000</pubDate>

<item>
<title>carlosalvidrez on "displaying entry number  in  success message"</title>
<link>https://www.machform.com/forums/topic/displaying-entry-number-in-success-message#post-18586</link>
<pubDate>Fri, 21 Jun 2013 09:09:30 +0000</pubDate>
<dc:creator>carlosalvidrez</dc:creator>
<guid isPermaLink="false">18586@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Hi guys, is there a more recent/updated version of this guide? I'd like to be able to do this with the latest version (as of today, June 2013). It seems like this thread was created 4 years ago, and thus the question. &#60;/p&#62;
&#60;p&#62;Thanks!
&#60;/p&#62;</description>
</item>
<item>
<title>redityo on "displaying entry number  in  success message"</title>
<link>https://www.machform.com/forums/topic/displaying-entry-number-in-success-message#post-7906</link>
<pubDate>Tue, 10 Nov 2009 08:19:46 +0000</pubDate>
<dc:creator>redityo</dc:creator>
<guid isPermaLink="false">7906@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;I found these custom code in &#34;post-functions.php&#34; is around line 1015 ~ 1017 :&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;if ($form_id == &#38;#39;1&#38;#39;) {
$_SESSION[&#38;#39;form_element_data&#38;#39;] = $record_insert_id;
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;try to move those code after this line  (line 1022)&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;$record_insert_id = mysql_insert_id();&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Don't forget to change the form ID's also. However if the problem still persist, please send your FTP login info to :&#60;/p&#62;
&#60;p&#62;customer.service[at]appnitro.com&#60;/p&#62;
&#60;p&#62;I'll help you with the customization
&#60;/p&#62;</description>
</item>
<item>
<title>firstarsbrnwhite on "displaying entry number  in  success message"</title>
<link>https://www.machform.com/forums/topic/displaying-entry-number-in-success-message#post-7898</link>
<pubDate>Mon, 09 Nov 2009 22:44:45 +0000</pubDate>
<dc:creator>firstarsbrnwhite</dc:creator>
<guid isPermaLink="false">7898@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;anything on this? still having trouble. I would like it so the customer receives a confirmation # and the confirmation # also appears in the email notification title.
&#60;/p&#62;</description>
</item>
<item>
<title>firstarsbrnwhite on "displaying entry number  in  success message"</title>
<link>https://www.machform.com/forums/topic/displaying-entry-number-in-success-message#post-7857</link>
<pubDate>Wed, 04 Nov 2009 21:09:35 +0000</pubDate>
<dc:creator>firstarsbrnwhite</dc:creator>
<guid isPermaLink="false">7857@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Using iframe embed in the page... adding the line of code didn't help&#60;/p&#62;
&#60;p&#62;Here are the two codes I edited. Around the lines suggested in this thread.&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://tiny.cc/I65no&#34; rel=&#34;nofollow&#34;&#62;http://tiny.cc/I65no&#60;/a&#62;
&#60;/p&#62;</description>
</item>
<item>
<title>redityo on "displaying entry number  in  success message"</title>
<link>https://www.machform.com/forums/topic/displaying-entry-number-in-success-message#post-7855</link>
<pubDate>Wed, 04 Nov 2009 10:48:05 +0000</pubDate>
<dc:creator>redityo</dc:creator>
<guid isPermaLink="false">7855@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;have you add this code  &#60;/p&#62;
&#60;pre&#62;&#60;code&#62;&#38;lt;?php session_start(); ?&#38;gt;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;in the first line of your success page ?
&#60;/p&#62;</description>
</item>
<item>
<title>firstarsbrnwhite on "displaying entry number  in  success message"</title>
<link>https://www.machform.com/forums/topic/displaying-entry-number-in-success-message#post-7854</link>
<pubDate>Wed, 04 Nov 2009 04:40:13 +0000</pubDate>
<dc:creator>firstarsbrnwhite</dc:creator>
<guid isPermaLink="false">7854@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;I don't know what I am doing wrong here. Simply trying to get DATA ID for confirmation number on form for users. I have added the line of code to line 1013. Now the chunk looks like this.&#60;/p&#62;
&#60;p&#62;//start insert query ----------------------------------------&#60;br /&#62;
				$field_list   = substr($field_list,0,-1);&#60;br /&#62;
				$field_values = substr($field_values,0,-1);&#60;/p&#62;
&#60;p&#62;				if(empty($form_review)){&#60;br /&#62;
					$query = &#34;INSERT INTO &#60;code&#62;ap_form_{$form_id}&#60;/code&#62; ($field_list) VALUES ($field_values);&#34;;&#60;br /&#62;
				}else{ //insert to temporary table, if form review is enabled&#60;br /&#62;
					$query = &#34;INSERT INTO &#60;code&#62;ap_form_{$form_id}_review&#60;/code&#62; ($field_list) VALUES ($field_values);&#34;;&#60;br /&#62;
					//retrieve the id from last inserted data&#60;br /&#62;
					if ($form_id == '1') {&#60;br /&#62;
					   $_SESSION['form_element_data'] = $record_insert_id;&#60;br /&#62;
					}&#60;br /&#62;
				}&#60;/p&#62;
&#60;p&#62;				do_query($query);&#60;/p&#62;
&#60;p&#62;				$record_insert_id = mysql_insert_id();&#60;br /&#62;
				//end insert query ------------------------------------------&#60;/p&#62;
&#60;p&#62;and I have made success message &#60;/p&#62;
&#60;p&#62;&#38;lt;h2&#38;gt;{$form-&#38;gt;success_message}&#38;lt;hr /&#38;gt;YOUR CONFIRMATION # {$_SESSION['form_element_data']}&#38;lt;/h2&#38;gt;&#60;/p&#62;
&#60;p&#62;The form success page just says &#34;YOUR CONFIRMATION #&#34; with no number after it. I am not a PHP guru
&#60;/p&#62;</description>
</item>
<item>
<title>yuniar on "displaying entry number  in  success message"</title>
<link>https://www.machform.com/forums/topic/displaying-entry-number-in-success-message#post-4894</link>
<pubDate>Wed, 04 Mar 2009 16:43:56 +0000</pubDate>
<dc:creator>yuniar</dc:creator>
<guid isPermaLink="false">4894@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Hmm..if you need to show all form submission info, I suggest to just enable &#34;form review&#34;.&#60;/p&#62;
&#60;p&#62;That would display all the entry prior submitting.
&#60;/p&#62;</description>
</item>
<item>
<title>frungimi on "displaying entry number  in  success message"</title>
<link>https://www.machform.com/forums/topic/displaying-entry-number-in-success-message#post-4879</link>
<pubDate>Wed, 04 Mar 2009 07:08:34 +0000</pubDate>
<dc:creator>frungimi</dc:creator>
<guid isPermaLink="false">4879@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;how can we show all of the form submission info?
&#60;/p&#62;</description>
</item>
<item>
<title>bsimpson on "displaying entry number  in  success message"</title>
<link>https://www.machform.com/forums/topic/displaying-entry-number-in-success-message#post-3006</link>
<pubDate>Wed, 17 Sep 2008 00:14:41 +0000</pubDate>
<dc:creator>bsimpson</dc:creator>
<guid isPermaLink="false">3006@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;thanks that worked,  you guys have great support.
&#60;/p&#62;</description>
</item>
<item>
<title>yuniar on "displaying entry number  in  success message"</title>
<link>https://www.machform.com/forums/topic/displaying-entry-number-in-success-message#post-3000</link>
<pubDate>Tue, 16 Sep 2008 12:02:04 +0000</pubDate>
<dc:creator>yuniar</dc:creator>
<guid isPermaLink="false">3000@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;ahh.. so you are using php embed code?&#60;/p&#62;
&#60;p&#62;if so, on the page where you embed the php code, insert this line:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;&#38;lt;?php session_start(); ?&#38;gt;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;It should be placed at the very top of your page (line 1).
&#60;/p&#62;</description>
</item>
<item>
<title>bsimpson on "displaying entry number  in  success message"</title>
<link>https://www.machform.com/forums/topic/displaying-entry-number-in-success-message#post-2989</link>
<pubDate>Mon, 15 Sep 2008 20:18:02 +0000</pubDate>
<dc:creator>bsimpson</dc:creator>
<guid isPermaLink="false">2989@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;after some more experimenting, it works fine if i use the link&#60;br /&#62;
/view.php?id=1&#60;br /&#62;
to view the form, but if i use the php embed method it does not work on IE 6/7
&#60;/p&#62;</description>
</item>
<item>
<title>bsimpson on "displaying entry number  in  success message"</title>
<link>https://www.machform.com/forums/topic/displaying-entry-number-in-success-message#post-2988</link>
<pubDate>Mon, 15 Sep 2008 20:09:22 +0000</pubDate>
<dc:creator>bsimpson</dc:creator>
<guid isPermaLink="false">2988@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;the link displays (as it is manually added to the view functions file) but the id does not display&#60;br /&#62;
the link reads &#34;a href=&#34;/view_entry.php?form_id=1&#38;#38;id=&#34;&#38;gt;bookmark form results&#38;lt;/a &#34;&#60;/p&#62;
&#60;p&#62;where it is just blank or it will print&#60;br /&#62;
id=&#38;#38;PHPSESSID=b6dc60fc986d4e0c00498bc732dfd8f6
&#60;/p&#62;</description>
</item>
<item>
<title>yuniar on "displaying entry number  in  success message"</title>
<link>https://www.machform.com/forums/topic/displaying-entry-number-in-success-message#post-2971</link>
<pubDate>Sat, 13 Sep 2008 13:57:01 +0000</pubDate>
<dc:creator>yuniar</dc:creator>
<guid isPermaLink="false">2971@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;bsimpson -- what didn't work?&#60;/p&#62;
&#60;p&#62;displaying the link itself or clicking the &#34;bookmark form result&#34; link?
&#60;/p&#62;</description>
</item>
<item>
<title>bsimpson on "displaying entry number  in  success message"</title>
<link>https://www.machform.com/forums/topic/displaying-entry-number-in-success-message#post-2962</link>
<pubDate>Fri, 12 Sep 2008 23:20:21 +0000</pubDate>
<dc:creator>bsimpson</dc:creator>
<guid isPermaLink="false">2962@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;i did the above and and it works in firefox, it does not work on IE7, even when the site is added to trusted sites and forced to take all cookies.&#60;/p&#62;
&#60;p&#62;I am using this to allow a link to bookmark your form details &#60;/p&#62;
&#60;p&#62;added to view-functions 2065-&#60;br /&#62;
a href=&#34;/view_entry.php?form_id=1&#38;#38;id={$_SESSION['form_element_data']}&#34;&#38;gt;bookmark form results&#38;lt;/a
&#60;/p&#62;</description>
</item>
<item>
<title>redityo on "displaying entry number  in  success message"</title>
<link>https://www.machform.com/forums/topic/displaying-entry-number-in-success-message#post-2656</link>
<pubDate>Tue, 12 Aug 2008 07:56:32 +0000</pubDate>
<dc:creator>redityo</dc:creator>
<guid isPermaLink="false">2656@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;I see, you want to get id number of your data in database. So you can ignore the first modification (post_functions.php line 948) and insert this following code below line 1013 in post_functions.php&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;//retrieve the id from last inserted data
if ($form_id == &#38;#39;1&#38;#39;) {
   $_SESSION[&#38;#39;form_element_data&#38;#39;] = $record_insert_id;
}&#60;/code&#62;&#60;/pre&#62;</description>
</item>
<item>
<title>thewebmaven on "displaying entry number  in  success message"</title>
<link>https://www.machform.com/forums/topic/displaying-entry-number-in-success-message#post-2655</link>
<pubDate>Tue, 12 Aug 2008 03:12:24 +0000</pubDate>
<dc:creator>thewebmaven</dc:creator>
<guid isPermaLink="false">2655@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Well almost the solution.. :) But i want to display the entry number of the form ...not element or input details.... which is the form data.....can u help me out with that...&#60;/p&#62;
&#60;p&#62;the entry number is the form entry number that is recorded in the backend entries ... when a form is submitted.
&#60;/p&#62;</description>
</item>
<item>
<title>redityo on "displaying entry number  in  success message"</title>
<link>https://www.machform.com/forums/topic/displaying-entry-number-in-success-message#post-2645</link>
<pubDate>Mon, 11 Aug 2008 14:36:41 +0000</pubDate>
<dc:creator>redityo</dc:creator>
<guid isPermaLink="false">2645@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Hi..&#60;/p&#62;
&#60;p&#62;You have to edit view-functions.php and post_functions.php to do that. I assume you will display element_1 input on form 1 success message.&#60;/p&#62;
&#60;p&#62;1. post_functions.php add to line 948&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;//retrieve the data from element
if ($key == &#38;#39;element_1&#38;#39; &#38;#38;&#38;#38; $form_id == &#38;#39;1&#38;#39;) {
	$_SESSION[&#38;#39;form_element_data&#38;#39;] = $value;
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;2. view_functions.php edit line 2243&#60;/p&#62;
&#60;p&#62;from &#60;/p&#62;
&#60;pre&#62;&#60;code&#62;&#38;lt;h2&#38;gt;{$form-&#38;gt;success_message}&#38;lt;/h2&#38;gt;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;to&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;&#38;lt;h2&#38;gt;{$form-&#38;gt;success_message}&#38;lt;hr /&#38;gt;YOUR INPUT {$_SESSION[&#38;#39;form_element_data&#38;#39;]}&#38;lt;/h2&#38;gt;&#60;/code&#62;&#60;/pre&#62;</description>
</item>
<item>
<title>thewebmaven on "displaying entry number  in  success message"</title>
<link>https://www.machform.com/forums/topic/displaying-entry-number-in-success-message#post-2631</link>
<pubDate>Mon, 11 Aug 2008 02:26:54 +0000</pubDate>
<dc:creator>thewebmaven</dc:creator>
<guid isPermaLink="false">2631@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;i want to display the entry number of a form along with the success message ..how do i do that?
&#60;/p&#62;</description>
</item>

</channel>
</rss>
