<?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: Need entry id for post-insert custom hook operation</title>
<link>https://www.machform.com/forums/</link>
<description>MachForm Community Forums Topic: Need entry id for post-insert custom hook operation</description>
<language>en</language>
<pubDate>Sun, 03 May 2026 23:26:26 +0000</pubDate>

<item>
<title>knitzsche on "Need entry id for post-insert custom hook operation"</title>
<link>https://www.machform.com/forums/topic/need-entry-id-for-post-insert-custom-hook-operation#post-1887</link>
<pubDate>Sat, 24 May 2008 18:12:55 +0000</pubDate>
<dc:creator>knitzsche</dc:creator>
<guid isPermaLink="false">1887@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Ok, I got it..I needed to add an include. It works..&#60;/p&#62;
&#60;p&#62;Kalpana
&#60;/p&#62;</description>
</item>
<item>
<title>knitzsche on "Need entry id for post-insert custom hook operation"</title>
<link>https://www.machform.com/forums/topic/need-entry-id-for-post-insert-custom-hook-operation#post-1886</link>
<pubDate>Sat, 24 May 2008 16:40:13 +0000</pubDate>
<dc:creator>knitzsche</dc:creator>
<guid isPermaLink="false">1886@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Actually, I am using version 2 and put back the hooks as you had suggested in another thread cause I need it. &#60;/p&#62;
&#60;p&#62;The record_insert_id turns out to be the id that gets put in the review table because I have review option turned on. So I moved the call to the hook from the process_form function to the commit_form_review function where the new_record_id is defined, but am having problems because the function_exists call is coming back false and the custom hook is not being called. &#60;/p&#62;
&#60;p&#62;Hoping there is a soln.&#60;/p&#62;
&#60;p&#62;Thanks&#60;br /&#62;
Kalpana
&#60;/p&#62;</description>
</item>
<item>
<title>yuniar on "Need entry id for post-insert custom hook operation"</title>
<link>https://www.machform.com/forums/topic/need-entry-id-for-post-insert-custom-hook-operation#post-1885</link>
<pubDate>Sat, 24 May 2008 13:00:31 +0000</pubDate>
<dc:creator>yuniar</dc:creator>
<guid isPermaLink="false">1885@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Are you still using version 1.2 ?&#60;br /&#62;
Hooks has been removed since version 2.&#60;/p&#62;
&#60;p&#62;If so, you can access the &#60;strong&#62;$record_insert_id&#60;/strong&#62; variable and pass it to your hook.
&#60;/p&#62;</description>
</item>
<item>
<title>knitzsche on "Need entry id for post-insert custom hook operation"</title>
<link>https://www.machform.com/forums/topic/need-entry-id-for-post-insert-custom-hook-operation#post-1884</link>
<pubDate>Sat, 24 May 2008 12:55:43 +0000</pubDate>
<dc:creator>knitzsche</dc:creator>
<guid isPermaLink="false">1884@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Hi,&#60;/p&#62;
&#60;p&#62;I would like to get hold of the entry id to save in another table when a form entry has been submitted and has been successfully inserted into the database.&#60;/p&#62;
&#60;p&#62;It seems like it would be simple enough, but I looked at the code, and am not entirely certain. Is there a session variable I can use? It doesn't seem to be available in the table_data array that is passed to the post_insert function.&#60;/p&#62;
&#60;p&#62;Thanks&#60;/p&#62;
&#60;p&#62;Kalpana
&#60;/p&#62;</description>
</item>

</channel>
</rss>
