<?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: After Form Submit keep fields populated</title>
		<link>https://legacy.forums.gravityhelp.com/topic/after-form-submit-keep-fields-populated</link>
		<description>Gravity Support Forums Topic: After Form Submit keep fields populated</description>
		<language>en-US</language>
		<pubDate>Tue, 14 Apr 2026 12:14:37 +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/after-form-submit-keep-fields-populated" rel="self" type="application/rss+xml" />

		<item>
			<title>Chris Hajer on "After Form Submit keep fields populated"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/after-form-submit-keep-fields-populated#post-143471</link>
			<pubDate>Wed, 06 Feb 2013 13:29:47 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">143471@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;What have you tried so far?  Is it different than this code?  Can you provide links to the examples you were trying to follow?  Thank you.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>mikon on "After Form Submit keep fields populated"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/after-form-submit-keep-fields-populated#post-143460</link>
			<pubDate>Wed, 06 Feb 2013 13:18:29 +0000</pubDate>
			<dc:creator>mikon</dc:creator>
			<guid isPermaLink="false">143460@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I need to have the form keep the form fields populated after hitting calculate on the form itself.&#60;/p&#62;
&#60;p&#62;Currently the user enter Amount Financed and Down Payment, but they disappaear after submitting.&#60;/p&#62;
&#60;p&#62;I know there is a way to achieve this, but I have tried multiple times with forum examples and other people having similar issues.&#60;/p&#62;
&#60;p&#62;Current Form URL: &#60;a href=&#34;http://whitebridgefinancial.com/anf2/&#34; rel=&#34;nofollow&#34;&#62;http://whitebridgefinancial.com/anf2/&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Current PHP Code:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;&#38;lt;div class=&#38;quot;payment_calculator&#38;quot;&#38;gt;
			&#38;lt;h1&#38;gt;Payment Calculator.&#38;lt;/h1&#38;gt;
			&#38;lt;div class=&#38;quot;payment_success_text&#38;quot;&#38;gt;
			&#38;lt;?php
			// Define initial loan variables
				$p = $_GET[&#38;#39;subtotal&#38;#39;];
				$n = $_GET[&#38;#39;number&#38;#39;];
				$r = $_GET[&#38;#39;rate&#38;#39;];

			// Prep for equation
				$n = $n * 12;
				$r = $r /1200;
				$r1 = $r + 1;

			// Equation
				$a = @($r + ($r / (pow($r1,$n) - 1))) * $p;

			// total payment amount (non-formatted)
				$t = $n * $a;

			// Format the numbers
				$a = number_format($a, 2, &#38;#39;.&#38;#39;, &#38;#39;,&#38;#39;);
				$t = number_format($t, 2, &#38;#39;.&#38;#39;, &#38;#39;,&#38;#39;);

				echo do_shortcode(&#38;#39;[gravityform id=&#38;quot;12&#38;quot; title=&#38;quot;false&#38;quot; name=&#38;quot;false&#38;quot; description=&#38;quot;false&#38;quot;]&#38;#39;); 

				if($a &#38;gt; 0) {
				echo &#38;#39;Your Monthly Payment = $&#38;#39; .$a. &#38;#39;&#38;#39;;

			}

			?&#38;gt;

			&#38;lt;/div&#38;gt;
		&#38;lt;/div&#38;gt;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Any help would be GREATLY appreciated. &#60;/p&#62;
&#60;p&#62;Much Thanks, Mike
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
