<?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: At query string parameter on page break</title>
		<link>https://legacy.forums.gravityhelp.com/topic/at-query-string-parameter-on-page-break</link>
		<description>Gravity Support Forums Topic: At query string parameter on page break</description>
		<language>en-US</language>
		<pubDate>Mon, 20 Apr 2026 01:22:53 +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/at-query-string-parameter-on-page-break" rel="self" type="application/rss+xml" />

		<item>
			<title>David Peralty on "At query string parameter on page break"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/at-query-string-parameter-on-page-break#post-96563</link>
			<pubDate>Wed, 28 Nov 2012 11:39:10 +0000</pubDate>
			<dc:creator>David Peralty</dc:creator>
			<guid isPermaLink="false">96563@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Here is what one of our developers told me.&#60;/p&#62;
&#60;p&#62;The trick here is to use the gform_form_tag hook and add the extra query string item with the current page number. The following code snippet should do the trick.&#60;br /&#62;
Just tell them to place the correct page URL.&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;add_filter(&#38;quot;gform_form_tag&#38;quot;, &#38;quot;form_tag&#38;quot;, 10, 2);
function form_tag($form_tag, $form){
$form_tag = preg_replace(&#38;quot;&#124;action=&#38;#39;(.*?)&#38;#39;&#124;&#38;quot;, &#38;#39;action=&#38;quot;YOUR_PAGE_URL?my_page=&#38;#39; . GFFormDisplay::get_source_page($form[&#38;quot;id&#38;quot;]) . &#38;#39;&#38;quot;&#38;#39;, $form_tag);
return $form_tag;
}&#60;/code&#62;&#60;/pre&#62;</description>
		</item>
		<item>
			<title>Tom on "At query string parameter on page break"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/at-query-string-parameter-on-page-break#post-96515</link>
			<pubDate>Wed, 28 Nov 2012 09:33:57 +0000</pubDate>
			<dc:creator>Tom</dc:creator>
			<guid isPermaLink="false">96515@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Any news on this topic?&#60;br /&#62;
Thanks
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Tom on "At query string parameter on page break"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/at-query-string-parameter-on-page-break#post-93530</link>
			<pubDate>Tue, 20 Nov 2012 11:24:49 +0000</pubDate>
			<dc:creator>Tom</dc:creator>
			<guid isPermaLink="false">93530@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;David, you are a hero!&#60;br /&#62;
Here is a link to the form: &#60;a href=&#34;http://bit.ly/TVSykP&#34; rel=&#34;nofollow&#34;&#62;http://bit.ly/TVSykP&#60;/a&#62;&#60;br /&#62;
Ajax is off yes!&#60;br /&#62;
Tom
&#60;/p&#62;</description>
		</item>
		<item>
			<title>David Peralty on "At query string parameter on page break"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/at-query-string-parameter-on-page-break#post-93524</link>
			<pubDate>Tue, 20 Nov 2012 11:14:53 +0000</pubDate>
			<dc:creator>David Peralty</dc:creator>
			<guid isPermaLink="false">93524@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;The issue you are having is related to how Gravity Forms paginates its forms. It isn't really three separate pages of forms, but a single page form that looks like it is on three pages, hence why there isn't any kind of URL variable for you to hook into. When you page through the form, the URL should change, but it will be something like #3 appended to it. Can you make sure AJAX is off on your form?&#60;/p&#62;
&#60;p&#62;Can you link to your form so I can see what you have currently?&#60;/p&#62;
&#60;p&#62;As for where to put code. It goes in your THEME's functions.php file. &#60;/p&#62;
&#60;p&#62;I would love to help you get this sorted if you'd continue to work with me on it.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Tom on "At query string parameter on page break"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/at-query-string-parameter-on-page-break#post-93495</link>
			<pubDate>Tue, 20 Nov 2012 10:35:41 +0000</pubDate>
			<dc:creator>Tom</dc:creator>
			<guid isPermaLink="false">93495@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi David,&#60;br /&#62;
Thanks but I give up on this one...&#60;/p&#62;
&#60;p&#62;First of all, It's completely not clear to me where to paste the code. Your link doesn't help on that. (Sure, I found functions.php and form_display.php but then I'm lost)&#60;br /&#62;
Secondly, sessions variables are too much. &#60;/p&#62;
&#60;p&#62;Just need a URL parameter saying 'p=1' or something simple like that that moves along with the current page. &#60;/p&#62;
&#60;p&#62;This also helps with tracking dropout points (for example when using Google Analytics studying the path to the goal. I thought this would be a common thing but I guess it's not). With only session variables you cannot do that (as far as I know). &#60;/p&#62;
&#60;p&#62;Anyway. Thanks,&#60;/p&#62;
&#60;p&#62;Tom
&#60;/p&#62;</description>
		</item>
		<item>
			<title>David Peralty on "At query string parameter on page break"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/at-query-string-parameter-on-page-break#post-92035</link>
			<pubDate>Fri, 16 Nov 2012 15:52:38 +0000</pubDate>
			<dc:creator>David Peralty</dc:creator>
			<guid isPermaLink="false">92035@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hooks and filters go in your theme's functions.php file. Take a look through our documentation.&#60;br /&#62;
&#60;a href=&#34;http://www.gravityhelp.com/documentation/page/Where_Do_I_Put_This_Code%3F&#34; rel=&#34;nofollow&#34;&#62;http://www.gravityhelp.com/documentation/page/Where_Do_I_Put_This_Code%3F&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Tom on "At query string parameter on page break"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/at-query-string-parameter-on-page-break#post-92033</link>
			<pubDate>Fri, 16 Nov 2012 15:49:18 +0000</pubDate>
			<dc:creator>Tom</dc:creator>
			<guid isPermaLink="false">92033@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Thanks David for your respond.&#60;br /&#62;
I think this is what I need.&#60;br /&#62;
I stil haven't figured the whole 'hook' thing out, but I quess that's a noob-thing. Not sure where I should put that. I'll try to figure it out.&#60;br /&#62;
CHeers, Tom
&#60;/p&#62;</description>
		</item>
		<item>
			<title>David Peralty on "At query string parameter on page break"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/at-query-string-parameter-on-page-break#post-91603</link>
			<pubDate>Thu, 15 Nov 2012 17:11:02 +0000</pubDate>
			<dc:creator>David Peralty</dc:creator>
			<guid isPermaLink="false">91603@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;You could use this to set a session variable, or control the other side:&#60;br /&#62;
&#60;a href=&#34;http://www.gravityhelp.com/documentation/page/Gform_post_paging&#34; rel=&#34;nofollow&#34;&#62;http://www.gravityhelp.com/documentation/page/Gform_post_paging&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Tom on "At query string parameter on page break"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/at-query-string-parameter-on-page-break#post-91566</link>
			<pubDate>Thu, 15 Nov 2012 15:01:50 +0000</pubDate>
			<dc:creator>Tom</dc:creator>
			<guid isPermaLink="false">91566@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi David,&#60;/p&#62;
&#60;p&#62;Thanks for your respond.&#60;br /&#62;
The thing is that I use the form in the context of a  larger page. Let's say for example that I have a page decided in two parts: the left, and the right part.&#60;/p&#62;
&#60;p&#62;In the left part I have the form.&#60;br /&#62;
In the right part I give some additional information (mostly image based).&#60;/p&#62;
&#60;p&#62;After a page-break (So next step in the form) I want to show other content in the right side of the page and I'd know what to show based upon the URL parameters.&#60;/p&#62;
&#60;p&#62;Thanks, &#60;/p&#62;
&#60;p&#62;Tom
&#60;/p&#62;</description>
		</item>
		<item>
			<title>David Peralty on "At query string parameter on page break"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/at-query-string-parameter-on-page-break#post-91554</link>
			<pubDate>Thu, 15 Nov 2012 14:18:56 +0000</pubDate>
			<dc:creator>David Peralty</dc:creator>
			<guid isPermaLink="false">91554@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Can you give me more information on why you would want to do this? &#60;/p&#62;
&#60;p&#62;There is this tidbit here:&#60;br /&#62;
&#60;a href=&#34;http://gravitywiz.com/2012/05/04/pro-tip-skip-pages-on-multi-page-forms/&#34; rel=&#34;nofollow&#34;&#62;http://gravitywiz.com/2012/05/04/pro-tip-skip-pages-on-multi-page-forms/&#60;/a&#62;
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
