<?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 Adjusting Price Field on Product</title>
		<link>https://legacy.forums.gravityhelp.com/topic/dynamically-adjusting-price-field-on-product</link>
		<description>Gravity Support Forums Topic: Dynamically Adjusting Price Field on Product</description>
		<language>en-US</language>
		<pubDate>Tue, 21 Apr 2026 09:16:05 +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-adjusting-price-field-on-product" rel="self" type="application/rss+xml" />

		<item>
			<title>Dave Landon on "Dynamically Adjusting Price Field on Product"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/dynamically-adjusting-price-field-on-product#post-19846</link>
			<pubDate>Thu, 03 Mar 2011 16:03:39 +0000</pubDate>
			<dc:creator>Dave Landon</dc:creator>
			<guid isPermaLink="false">19846@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;ahhhhhhhhh.... that is a great idea!  I believe that would work... thanks so much!!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Alex Cancado on "Dynamically Adjusting Price Field on Product"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/dynamically-adjusting-price-field-on-product#post-19842</link>
			<pubDate>Thu, 03 Mar 2011 15:55:18 +0000</pubDate>
			<dc:creator>Alex Cancado</dc:creator>
			<guid isPermaLink="false">19842@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;From what I understood by looking at the code, you want to change the price based on selections from a drop down field, correct?&#60;br /&#62;
If that is the case, what you can do is add two different product fields to the form. Each with it's own price. You can then use conditional logic to hide/show the appropriate field based on the drop down values. Only the visible product field will be sent to paypal and recorded in the entry, so it would essentially act like the price was changed.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Dave Landon on "Dynamically Adjusting Price Field on Product"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/dynamically-adjusting-price-field-on-product#post-19838</link>
			<pubDate>Thu, 03 Mar 2011 15:40:05 +0000</pubDate>
			<dc:creator>Dave Landon</dc:creator>
			<guid isPermaLink="false">19838@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;any idea on how to accomplish this? Would some implementations of a user definable price field be able to do this?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Dave Landon on "Dynamically Adjusting Price Field on Product"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/dynamically-adjusting-price-field-on-product#post-19774</link>
			<pubDate>Wed, 02 Mar 2011 17:51:02 +0000</pubDate>
			<dc:creator>Dave Landon</dc:creator>
			<guid isPermaLink="false">19774@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Okay that makes sense...  Basically I am using some jQuery calls to update the price.  See below&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;/********************************************
 * BEGIN: Webinar Logic **********************
 ********************************************/
	// Hold the original price
	$webinarOriginalPrice = $(&#38;#39;#input_31_6&#38;#39;).val();

	function webinarChangeEvent(){
		// Test to see if the name field is blank or not
		$theString = ($(&#38;#39;#input_31_30&#38;#39;).val()) ? $(&#38;#39;#input_31_30&#38;#39;).val() : &#38;#39;&#38;#39;;
		$.trim($theString);
		parseFloat($theString);
		if ($theString.length &#38;gt; 0) {
			// Change the PRICE!!! DAMNIT
			$newPrice = 150 + ($webinarOriginalPrice * 1);
			$howMuchText = &#38;#39;$&#38;#39; + ($newPrice * 1).toFixed(2);
			$howMuchValue = ($newPrice * 1).toFixed(4);
			$(&#38;#39;[name=&#38;quot;input_34.2&#38;quot;]&#38;#39;).val($howMuchValue);
			$(&#38;#39;#input_31_34&#38;#39;).text($howMuchText);
		} else {
			$howMuchText = &#38;#39;$&#38;#39; + (1 * $webinarOriginalPrice).toFixed(2);
			$(&#38;#39;[name=&#38;quot;input_34.3&#38;quot;]&#38;#39;).val(1);
			$(&#38;#39;#input_31_34&#38;#39;).text($howMuchText);
		}
	}
	// Attach event handler to select box that will update the price
	$(&#38;#39;#input_31_30&#38;#39;).keyup(function(){
		webinarChangeEvent();
	});

	// Do the same thing but during load
	webinarChangeEvent();
/********************************************
 * END: Webinar Logic ***********************
 ********************************************/

/*******************************************
 * BEGIN: Submit button logic **************
 *******************************************/
$(&#38;quot;:submit&#38;quot;).click(function(){
	$(this).attr(&#38;#39;disabled&#38;#39;, &#38;#39;disabled&#38;#39;).val(&#38;#39;Please wait...&#38;#39;);
});
/*******************************************
 * END: Submit button logic ****************
 *******************************************/&#60;/code&#62;&#60;/pre&#62;</description>
		</item>
		<item>
			<title>Carl Hancock on "Dynamically Adjusting Price Field on Product"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/dynamically-adjusting-price-field-on-product#post-19771</link>
			<pubDate>Wed, 02 Mar 2011 17:34:30 +0000</pubDate>
			<dc:creator>Carl Hancock</dc:creator>
			<guid isPermaLink="false">19771@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;So are you trying to dynamically change the price using custom code?&#60;/p&#62;
&#60;p&#62;There is code in place to make sure the price is not manipulated.  This is for security reasons so users can't manipulate the price and purchase at a cheaper price by spoofing it.&#60;/p&#62;
&#60;p&#62;How are you dynamically changing the price currently? If you describe what you are doing, what hooks you are using or how you are doing it we may have a work around.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Dave Landon on "Dynamically Adjusting Price Field on Product"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/dynamically-adjusting-price-field-on-product#post-19761</link>
			<pubDate>Wed, 02 Mar 2011 17:21:43 +0000</pubDate>
			<dc:creator>Dave Landon</dc:creator>
			<guid isPermaLink="false">19761@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi,&#60;/p&#62;
&#60;p&#62;I am currently developing a paypal / gravity forms solution.  Right now I'm experiencing a strange validation error.  Basically, when I change the price on a product and the form validates it tells me that the price fields needs a correct value.  However this only occurs when the price is DIFFERENT than the value upon the initial page load.&#60;/p&#62;
&#60;p&#62;That being said, I believe that the form is validating against the original price.&#60;/p&#62;
&#60;p&#62;Confirming my belief, when the form reloads and lets me know that the price needs a correct value, I can submit the form and it works as intended.&#60;/p&#62;
&#60;p&#62;Any insight on how I can overcome this problem??&#60;/p&#62;
&#60;p&#62;Any and all help is appreciated!&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://development.cftacs.org/registration-forms/?fid=31&#38;amp;firstName=Chris&#38;amp;lastName=Carvache&#38;amp;courseTitle=Robbery%20Preparedness&#38;amp;courseNumber=Spring11Web115Web21010%2F20%2F2011&#38;amp;email=chris@northeastwebdesign.com&#38;amp;coursePrice=255.0000&#38;amp;delivery=Webinar&#38;amp;deliveryType=Live+Webinar&#38;amp;courseDate=October+20th%2C+2011&#38;amp;courseTime=11:00%20AM&#34; rel=&#34;nofollow&#34;&#62;http://development.cftacs.org/registration-forms/?fid=31&#38;amp;firstName=Chris&#38;amp;lastName=Carvache&#38;amp;courseTitle=Robbery%20Preparedness&#38;amp;courseNumber=Spring11Web115Web21010%2F20%2F2011&#38;amp;email=chris@northeastwebdesign.com&#38;amp;coursePrice=255.0000&#38;amp;delivery=Webinar&#38;amp;deliveryType=Live+Webinar&#38;amp;courseDate=October+20th%2C+2011&#38;amp;courseTime=11:00%20AM&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Sorry for the long link!
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
