<?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: PayPal hidden product field not validating after dynamic update</title>
		<link>https://legacy.forums.gravityhelp.com/topic/paypal-hidden-product-field-not-validating-after-dynamic-update</link>
		<description>Gravity Support Forums Topic: PayPal hidden product field not validating after dynamic update</description>
		<language>en-US</language>
		<pubDate>Tue, 21 Apr 2026 07:25: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/paypal-hidden-product-field-not-validating-after-dynamic-update" rel="self" type="application/rss+xml" />

		<item>
			<title>squidgemann on "PayPal hidden product field not validating after dynamic update"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/paypal-hidden-product-field-not-validating-after-dynamic-update#post-75371</link>
			<pubDate>Fri, 14 Sep 2012 12:34:45 +0000</pubDate>
			<dc:creator>squidgemann</dc:creator>
			<guid isPermaLink="false">75371@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi Alex, so simple when you know how! Thank you so much, that's solved the problem.&#60;/p&#62;
&#60;p&#62;All the best&#60;br /&#62;
Andy
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Alex Cancado on "PayPal hidden product field not validating after dynamic update"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/paypal-hidden-product-field-not-validating-after-dynamic-update#post-75369</link>
			<pubDate>Fri, 14 Sep 2012 12:24:25 +0000</pubDate>
			<dc:creator>Alex Cancado</dc:creator>
			<guid isPermaLink="false">75369@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;You are getting that error because you are manipulating the product price via jQuery, and that is triggering a safety validation that GF performs on product fields. In order to disable that extra validation, you can enable to option to &#34;Allow field to be populated dynamically&#34; in the field editor.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>squidgemann on "PayPal hidden product field not validating after dynamic update"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/paypal-hidden-product-field-not-validating-after-dynamic-update#post-75325</link>
			<pubDate>Fri, 14 Sep 2012 09:08:20 +0000</pubDate>
			<dc:creator>squidgemann</dc:creator>
			<guid isPermaLink="false">75325@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi Guys,&#60;/p&#62;
&#60;p&#62;Have you had a chance to look at this for me? I'm really confused as to why I can't make the field validate and my client is breathing down my neck!&#60;/p&#62;
&#60;p&#62;Thanks in advance&#60;br /&#62;
Andy
&#60;/p&#62;</description>
		</item>
		<item>
			<title>squidgemann on "PayPal hidden product field not validating after dynamic update"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/paypal-hidden-product-field-not-validating-after-dynamic-update#post-74777</link>
			<pubDate>Tue, 11 Sep 2012 07:26:35 +0000</pubDate>
			<dc:creator>squidgemann</dc:creator>
			<guid isPermaLink="false">74777@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi Guys&#60;/p&#62;
&#60;p&#62;I've got a problem which is similar to this post (&#60;a href=&#34;http://www.gravityhelp.com/forums/topic/pricing-field-of-type-product-doesnt-validate&#34; rel=&#34;nofollow&#34;&#62;http://www.gravityhelp.com/forums/topic/pricing-field-of-type-product-doesnt-validate&#60;/a&#62;) but I can't find an answer or a solution on the forums.&#60;/p&#62;
&#60;p&#62;Here's what I'm experiencing:&#60;/p&#62;
&#60;p&#62;- I have a hidden product field for a service fee (the client is using this to cover the PayPal transaction fee)&#60;br /&#62;
- The client needs it to be multiplied by the number of swimmers the user is paying for&#60;br /&#62;
- I've written a short piece of jQuery to update the product field when the number of swimmers is selected:&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;&#38;lt;script type=&#38;quot;text/javascript&#38;quot;&#38;gt;
jQuery(&#38;quot;#input_5_5&#38;quot;).change(function(){
    var num_swimmers = jQuery(&#38;quot;#input_5_5 option:selected&#38;quot;).val();
    var charge = num_swimmers * 3;
    charge = charge.toFixed(2);
    jQuery(&#38;quot;#ginput_base_price_5_34&#38;quot;).val(&#38;quot;£ &#38;quot; + charge);

    alert( jQuery(&#38;quot;#ginput_base_price_5_34&#38;quot;).val() );
});
&#38;lt;/script&#38;gt;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;The last alert shows the correct value, and matches the format of the product field when the page loads, but I get a validation error: &#34;There was a problem with your submission. Errors have been highlighted below.&#34;&#60;/p&#62;
&#60;p&#62;When I inspect the page, I can see that it's saying &#34;Please enter a valid value.&#34; for the service charge.&#60;/p&#62;
&#60;p&#62;Please could you let me know what I'm doing wrong? I really can't see the difference between my calculated value and the valid default value.&#60;/p&#62;
&#60;p&#62;URL: &#60;a href=&#34;http://sinkorswimcardiff.com/pay-now/&#34; rel=&#34;nofollow&#34;&#62;http://sinkorswimcardiff.com/pay-now/&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Thanks!&#60;br /&#62;
Andy
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
