<?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: Dynamically Populating Price with gform_post_paging?</title>
		<link>https://legacy.forums.gravityhelp.com/topic/dynamically-populating-price-with-gform_post_paging</link>
		<description>Gravity Support Forums Topic: Dynamically Populating Price with gform_post_paging?</description>
		<language>en-US</language>
		<pubDate>Thu, 09 Apr 2026 07:50:55 +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/dynamically-populating-price-with-gform_post_paging" rel="self" type="application/rss+xml" />

		<item>
			<title>theslink2000 on "Dynamically Populating Price with gform_post_paging?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/dynamically-populating-price-with-gform_post_paging#post-90155</link>
			<pubDate>Mon, 12 Nov 2012 09:59:08 +0000</pubDate>
			<dc:creator>theslink2000</dc:creator>
			<guid isPermaLink="false">90155@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;No worries bud, you guys helped me sort it in a priority support ticket and I hate it when I find forum posts with no answers.&#60;/p&#62;
&#60;p&#62;Just hope it helps someone.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "Dynamically Populating Price with gform_post_paging?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/dynamically-populating-price-with-gform_post_paging#post-89957</link>
			<pubDate>Mon, 12 Nov 2012 01:32:50 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">89957@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Thank you for sharing your code.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>theslink2000 on "Dynamically Populating Price with gform_post_paging?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/dynamically-populating-price-with-gform_post_paging#post-88470</link>
			<pubDate>Wed, 07 Nov 2012 15:03:32 +0000</pubDate>
			<dc:creator>theslink2000</dc:creator>
			<guid isPermaLink="false">88470@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;For anyone finding this the answer was both weird to me and simple.  You can achieve this using the gform_pre_render hook, which I would never have thought to use as the price is built on the second form page based on activity from the first form page.  However, here's the working code:&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://pastie.org/5341905&#34; rel=&#34;nofollow&#34;&#62;http://pastie.org/5341905&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>theslink2000 on "Dynamically Populating Price with gform_post_paging?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/dynamically-populating-price-with-gform_post_paging#post-79992</link>
			<pubDate>Wed, 10 Oct 2012 06:26:30 +0000</pubDate>
			<dc:creator>theslink2000</dc:creator>
			<guid isPermaLink="false">79992@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi,&#60;/p&#62;
&#60;p&#62;I've been trying to build an order form based around dynamic selection of a patients medications.  I've got all the code working behind the scenes so far, however I can't seem to get it to populate the price field.&#60;/p&#62;
&#60;p&#62;I'm using a multi-page form where the first page is dynamically populated with a patients medications from the database as checkboxes likes this:&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://pastie.org/5028907&#34; rel=&#34;nofollow&#34;&#62;http://pastie.org/5028907&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Then on the second page it checks to see how many checkboxes have been ticked and then multiplies that by a preset prescription charge.  The only way I've found of doing this is using the gform_post_paging hook as the basic gform_field_value hook outputs $_POST data multiple times for some reason.  When I dump the information (seen in the order_prescription_cost function) it prints all the correct information as floats, however the gform_post_paging hook won't update the price field.  Here's the code:&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://pastie.org/5028929&#34; rel=&#34;nofollow&#34;&#62;http://pastie.org/5028929&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;I can't understand it, I've found a thread on here (&#60;a href=&#34;http://www.gravityhelp.com/forums/topic/dynamic-population-parameter-outputs-outside-the-form-but-not-in-form-fields#post-64752&#34; rel=&#34;nofollow&#34;&#62;http://www.gravityhelp.com/forums/topic/dynamic-population-parameter-outputs-outside-the-form-but-not-in-form-fields#post-64752&#60;/a&#62;) that states the gform_post_paging hook can be used like gform_pre_render, but it's not responding at all.&#60;/p&#62;
&#60;p&#62;Can someone please help!
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
