<?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: &#34;Pricing Field&#34; of type &#34;Product&#34; doesn&#039;t validate</title>
		<link>https://legacy.forums.gravityhelp.com/topic/pricing-field-of-type-product-doesnt-validate</link>
		<description>Gravity Support Forums Topic: &quot;Pricing Field&quot; of type &quot;Product&quot; doesn&#039;t validate</description>
		<language>en-US</language>
		<pubDate>Wed, 22 Apr 2026 14:24:01 +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/pricing-field-of-type-product-doesnt-validate" rel="self" type="application/rss+xml" />

		<item>
			<title>Carl Hancock on "&#34;Pricing Field&#34; of type &#34;Product&#34; doesn&#039;t validate"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/pricing-field-of-type-product-doesnt-validate#post-28604</link>
			<pubDate>Mon, 27 Jun 2011 16:26:00 +0000</pubDate>
			<dc:creator>Carl Hancock</dc:creator>
			<guid isPermaLink="false">28604@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Is the price visible in the pricing field? Is your code dynamically populating it? If so you should be able to see it reflected in the form.  Can you post a link to the page containing the form so we can see it happening?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Gandalf on "&#34;Pricing Field&#34; of type &#34;Product&#34; doesn&#039;t validate"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/pricing-field-of-type-product-doesnt-validate#post-28576</link>
			<pubDate>Mon, 27 Jun 2011 10:11:46 +0000</pubDate>
			<dc:creator>Gandalf</dc:creator>
			<guid isPermaLink="false">28576@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I have a &#34;Pricing Field&#34; of type &#34;Product&#34; which used to work. After I updated to GF v1.5.2.8 the form won't validate and gives this field the following error message: &#34;Please enter a valid value&#34;.&#60;/p&#62;
&#60;p&#62;The site's locale is Norwegian Bokmål (nb_NO)&#60;/p&#62;
&#60;p&#62;I have the following settings:&#60;/p&#62;
&#60;ul&#62;
&#60;li&#62;Field Type: Single Product&#60;/li&#62;
&#60;li&#62;Price: Kr 0,00 (gets filled in dynamically)&#60;/li&#62;
&#60;li&#62;Disable quantity field: unchecked&#60;/li&#62;
&#60;li&#62;Required: checked (tried to uncheck, but still doesn't validate)&#60;/li&#62;
&#60;li&#62;No Duplicates: unchecked&#60;/li&#62;
&#60;/ul&#62;
&#60;p&#62;Advanced tab:&#60;/p&#62;
&#60;ul&#62;
&#60;li&#62;Allow field to be populated dynamically: checked&#60;/li&#62;
&#60;li&#62;Name: productName&#60;/li&#62;
&#60;li&#62;Price: productPrice&#60;/li&#62;
&#60;li&#62;Quantity: productQty&#60;/li&#62;
&#60;/ul&#62;
&#60;p&#62;Enable conditional logic: unchecked&#60;/p&#62;
&#60;p&#62;These are my filters to populate the fields:&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;add_filter(&#38;quot;gform_field_value_productName&#38;quot;, &#38;quot;gnd_gf_populate_postTitle&#38;quot;);
function gnd_gf_populate_postTitle($value){
	global $post;
	return get_the_title();
}

add_filter(&#38;quot;gform_field_value_productPrice&#38;quot;, &#38;quot;gnd_gf_populate_productPrice&#38;quot;);
function gnd_gf_populate_productPrice($value){
	global $post;
	return intval(get_post_meta(get_the_ID(), &#38;#39;_gnd_publication_price&#38;#39;, true));
}

add_filter(&#38;quot;gform_field_value_productQty&#38;quot;, &#38;quot;gnd_gf_populate_productQty&#38;quot;);
function gnd_gf_populate_productQty($value){
	return 1;
}&#60;/code&#62;&#60;/pre&#62;</description>
		</item>

	</channel>
</rss>
