<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.0.1" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Gravity Support Forums Topic: gform_pre_render &#38; multi-page form</title>
		<link>https://legacy.forums.gravityhelp.com/topic/gform_pre_render-multi-page-form</link>
		<description>Gravity Support Forums Topic: gform_pre_render &amp; multi-page form</description>
		<language>en-US</language>
		<pubDate>Mon, 20 Apr 2026 10:08:27 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.0.1</generator>
		<textInput>
			<title><![CDATA[Search]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>https://legacy.forums.gravityhelp.com/search.php</link>
		</textInput>
		<atom:link href="https://legacy.forums.gravityhelp.com/rss/topic/gform_pre_render-multi-page-form" rel="self" type="application/rss+xml" />

		<item>
			<title>David Smith on "gform_pre_render &#38; multi-page form"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/gform_pre_render-multi-page-form#post-32065</link>
			<pubDate>Mon, 08 Aug 2011 18:30:07 +0000</pubDate>
			<dc:creator>David Smith</dc:creator>
			<guid isPermaLink="false">32065@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;ol&#62;
&#60;li&#62;Yes.&#60;/li&#62;
&#60;li&#62;If you check the $_POST variable there will be a property titled &#34;gform_source_page_number_{form_id}&#34;. The form ID will be the ID of the form being submitted. Assuming you are getting the submitted page in the gform_pre_render filter, this line will do that:&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;[php]
$current_page = rgpost(&#38;#39;gform_source_page_number_&#38;#39; . $form[&#38;#39;id&#38;#39;]) ? rgpost(&#38;#39;gform_source_page_number_&#38;#39; . $form[&#38;#39;id&#38;#39;]) : 1;&#60;/code&#62;&#60;/pre&#62;
&#60;/li&#62;
&#60;/ol&#62;</description>
		</item>
		<item>
			<title>carcinomad on "gform_pre_render &#38; multi-page form"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/gform_pre_render-multi-page-form#post-32063</link>
			<pubDate>Mon, 08 Aug 2011 18:17:35 +0000</pubDate>
			<dc:creator>carcinomad</dc:creator>
			<guid isPermaLink="false">32063@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;1.  Is gform_pre_render called on each page of a multi-page ajax form?&#60;br /&#62;
2.  How can I determine which page was just submitted?
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
