<?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: Is the $table_data[] array available in post-functions.php (version 3.2).</title>
<link>https://www.machform.com/forums/</link>
<description>MachForm Community Forums Topic: Is the $table_data[] array available in post-functions.php (version 3.2).</description>
<language>en</language>
<pubDate>Sun, 03 May 2026 21:51:52 +0000</pubDate>

<item>
<title>Steve1951 on "Is the $table_data[] array available in post-functions.php (version 3.2)."</title>
<link>https://www.machform.com/forums/topic/is-the-table_data-array-available-in-post-functionsphp-version-32#post-14907</link>
<pubDate>Sun, 27 May 2012 06:32:39 +0000</pubDate>
<dc:creator>Steve1951</dc:creator>
<guid isPermaLink="false">14907@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;I am using a single page and form review is enabled.  I stored the $table_data in a session variable &#34;in function mf_process_form()&#34; and now everything is working fine.
&#60;/p&#62;</description>
</item>
<item>
<title>yuniar on "Is the $table_data[] array available in post-functions.php (version 3.2)."</title>
<link>https://www.machform.com/forums/topic/is-the-table_data-array-available-in-post-functionsphp-version-32#post-14900</link>
<pubDate>Sat, 26 May 2012 12:45:14 +0000</pubDate>
<dc:creator>yuniar</dc:creator>
<guid isPermaLink="false">14900@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;The $table_data is not available within that function indeed. The easiest way is by storing the $table_data from &#34;process_form()&#34; function into session variable and then access the session variable from within the &#34;mf_get_merchant_redirect_url()&#34; function you mentioned above.&#60;/p&#62;
&#60;p&#62;Are you using a single page or multi page form? Also, is &#34;form review&#34; enabled?
&#60;/p&#62;</description>
</item>
<item>
<title>Steve1951 on "Is the $table_data[] array available in post-functions.php (version 3.2)."</title>
<link>https://www.machform.com/forums/topic/is-the-table_data-array-available-in-post-functionsphp-version-32#post-14874</link>
<pubDate>Fri, 25 May 2012 01:43:16 +0000</pubDate>
<dc:creator>Steve1951</dc:creator>
<guid isPermaLink="false">14874@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;I want to add additional data to $paypal_params[] to be included in $merchant_redirect_url around line 2974 in post-functions.php but the element I need $table_data['element_3'] seems to be empty.  As a test I added the following just above line&#60;/p&#62;
&#60;p&#62;$merchant_redirect_url = 'https://www.paypal.com/cgi-bin/webscr?'.http_build_query($paypal_params,'','&#38;#38;');&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;echo &#38;quot;(1)This is a test.&#38;quot;;
$vartest = $table_data[&#38;#39;element_3&#38;#39;];
echo &#38;quot;(2)&#124;$vartest&#124;&#38;quot;;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;and here is the result&#60;/p&#62;
&#60;p&#62;(1)This is a test.(2)&#124;&#124;&#60;/p&#62;
&#60;p&#62;As you can see, $table_data['element_3'] is empty.&#60;/p&#62;
&#60;p&#62;Here is the HTML code generated (to verify I am using the correct element).&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;&#38;lt;/li&#38;gt;		&#38;lt;li id=&#38;quot;li_3&#38;quot; &#38;gt;
&#38;lt;label class=&#38;quot;description&#38;quot; for=&#38;quot;element_3&#38;quot;&#38;gt;Email &#38;lt;span id=&#38;quot;required_3&#38;quot; class=&#38;quot;required&#38;quot;&#38;gt;*&#38;lt;/span&#38;gt;&#38;lt;/label&#38;gt;
&#38;lt;div&#38;gt;
&#38;lt;input id=&#38;quot;element_3&#38;quot; name=&#38;quot;element_3&#38;quot; class=&#38;quot;element text medium&#38;quot; type=&#38;quot;text&#38;quot; maxlength=&#38;quot;255&#38;quot; value=&#38;quot;&#38;quot; /&#38;gt;
&#38;lt;/div&#38;gt;

&#38;lt;/li&#38;gt;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;What am I missing?
&#60;/p&#62;</description>
</item>

</channel>
</rss>
