<?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: Display form after submission</title>
		<link>https://legacy.forums.gravityhelp.com/topic/display-form-after-submission</link>
		<description>Gravity Support Forums Topic: Display form after submission</description>
		<language>en-US</language>
		<pubDate>Sat, 04 Apr 2026 11:08:49 +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/display-form-after-submission" rel="self" type="application/rss+xml" />

		<item>
			<title>Chris Hajer on "Display form after submission"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/display-form-after-submission#post-67262</link>
			<pubDate>Fri, 20 Jul 2012 13:46:31 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">67262@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Glad you were able to find a solution which works for you.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>paddelboot on "Display form after submission"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/display-form-after-submission#post-67249</link>
			<pubDate>Fri, 20 Jul 2012 12:17:18 +0000</pubDate>
			<dc:creator>paddelboot</dc:creator>
			<guid isPermaLink="false">67249@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;By chance I found a solution that seems to work:&#60;/p&#62;
&#60;p&#62;Returning an empty value in the function called by the gform_confirmation hook results in the form being displayed again, with the entered values selected - exactly what I wanted. &#60;/p&#62;
&#60;pre&#62;&#60;code&#62;public function custom_confirmation( $confirmation, $form, $lead, $ajax ) {

			switch ( $form[ &#38;#39;title&#38;#39; ] ) {

				case &#38;#39;my_form&#38;#39;:
					// Display form after submit, with prepoluated fields
					return;

				default:
					return $confirmation;
			}
		}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Paddelboot
&#60;/p&#62;</description>
		</item>
		<item>
			<title>paddelboot on "Display form after submission"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/display-form-after-submission#post-67216</link>
			<pubDate>Fri, 20 Jul 2012 07:48:02 +0000</pubDate>
			<dc:creator>paddelboot</dc:creator>
			<guid isPermaLink="false">67216@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;So I have to hook into gform_confirmation, use the entry object to create the query string, and then return the redirect URL. Besides from having an additional redirect, should'n it be more easy to just display a form after submit? The POST data is there, so it should be just as easy to prepopulate the form fields.&#60;/p&#62;
&#60;p&#62;Not every form is a contact kind of form. Imagine using forms for entering sets of data, and after each set, you'd have to make a redirect, click the browser's back button or a &#34;Enter new dataset&#34; kind of link. Life could be a lot simpler.&#60;/p&#62;
&#60;p&#62;Still a very nice plugin.&#60;/p&#62;
&#60;p&#62;Paddelboot
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "Display form after submission"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/display-form-after-submission#post-67207</link>
			<pubDate>Fri, 20 Jul 2012 07:19:05 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">67207@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;What are you using for your confirmation page?  A text confirmation, or a page?  I'm not completely sure how this should work in your situation, yet, but can you use a Page redirect, and send the query string to it?  That way, the values will be passed in the query string and your form fields can be pre-populated.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>paddelboot on "Display form after submission"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/display-form-after-submission#post-67205</link>
			<pubDate>Fri, 20 Jul 2012 07:15:51 +0000</pubDate>
			<dc:creator>paddelboot</dc:creator>
			<guid isPermaLink="false">67205@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I'll try to explain myself better:&#60;/p&#62;
&#60;p&#62;This form works as a post filter: &#34;Filter posts by:&#34; [date]&#60;/p&#62;
&#60;p&#62;After submission, the selected filters will be appended to the WP_Query meta query object. So far, so good. I simply want to always display the form on top of the loop, with the currently active filters selected. &#60;/p&#62;
&#60;p&#62;Hope that makes sense,&#60;/p&#62;
&#60;p&#62;Paddelboot
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "Display form after submission"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/display-form-after-submission#post-67175</link>
			<pubDate>Fri, 20 Jul 2012 01:01:38 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">67175@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Paddelboot, would this &#34;pre-submission confirmation&#34; help you at all?  Maybe you could adapt part of it for your situation?&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://gravitywiz.com/2012/04/30/simple-pre-submission-confirmation/&#34; rel=&#34;nofollow&#34;&#62;http://gravitywiz.com/2012/04/30/simple-pre-submission-confirmation/&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>David Peralty on "Display form after submission"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/display-form-after-submission#post-67078</link>
			<pubDate>Thu, 19 Jul 2012 14:49:02 +0000</pubDate>
			<dc:creator>David Peralty</dc:creator>
			<guid isPermaLink="false">67078@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Sorry, can you explain more about what you are trying to do? You can create confirmation text that includes the field values. Go to the form, go to edit it, click on the title, go to Confirmation and select Text. Then you can add in the various field elements form the drop down. &#60;/p&#62;
&#60;p&#62;If you want to have it go back to the form, with the form filled out, then you would want to redirect, and add in the query strings, making sure that the fields have Allow Populate Dynamically checked with parameters entered that will be the same as you use in your redirect query string.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>paddelboot on "Display form after submission"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/display-form-after-submission#post-67073</link>
			<pubDate>Thu, 19 Jul 2012 14:22:29 +0000</pubDate>
			<dc:creator>paddelboot</dc:creator>
			<guid isPermaLink="false">67073@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I am using a form as a content filter, therefore I want it to display the selected values after it has been submitted.&#60;br /&#62;
There doesn't seem to be an option in the backend to set: a text message is displayed but the form is removed, and redirecting makes all the post data unavailable, so I cannot prepopulate the fields.&#60;/p&#62;
&#60;p&#62;How would I do that?&#60;/p&#62;
&#60;p&#62;Paddelboot
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
