<?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: User defined price with minimum amount</title>
		<link>https://legacy.forums.gravityhelp.com/topic/user-defined-price-with-minimum-amount-1</link>
		<description>Gravity Support Forums Topic: User defined price with minimum amount</description>
		<language>en-US</language>
		<pubDate>Mon, 20 Apr 2026 08:48:59 +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/user-defined-price-with-minimum-amount-1" rel="self" type="application/rss+xml" />

		<item>
			<title>Dana Cobb on "User defined price with minimum amount"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/user-defined-price-with-minimum-amount-1#post-274113</link>
			<pubDate>Fri, 24 May 2013 19:11:55 +0000</pubDate>
			<dc:creator>Dana Cobb</dc:creator>
			<guid isPermaLink="false">274113@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;The problem is that the $value variable actually includes the number format as well, so you need to convert it to just a number first, then use that new variable in the comparison. Take a look at this example: &#60;a href=&#34;http://pastie.org/7955512&#34; rel=&#34;nofollow&#34;&#62;http://pastie.org/7955512&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>gomy on "User defined price with minimum amount"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/user-defined-price-with-minimum-amount-1#post-273770</link>
			<pubDate>Fri, 24 May 2013 15:17:06 +0000</pubDate>
			<dc:creator>gomy</dc:creator>
			<guid isPermaLink="false">273770@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I'm using the authorize.net add-on and trying to set a minimum amount on a user defined price field. I'm trying to set the minimum amount to enter as $10 but for some reason its not working. Here's the code I'm using:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;// Set minimum amount on cc form to be $10
add_filter(&#38;quot;gform_field_validation_51_7&#38;quot;, &#38;quot;custom_validation&#38;quot;, 10, 4);
function custom_validation($result, $value, $form, $field){

    if($result[&#38;quot;is_valid&#38;quot;] &#38;amp;&#38;amp; intval($value) &#38;lt; 10){
        $result[&#38;quot;is_valid&#38;quot;] = false;
        $result[&#38;quot;message&#38;quot;] = &#38;quot;The minimum payment must be more than $10&#38;quot;;
    }
    return $result;
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Here's a link to the form: &#60;a href=&#34;https://www.intouchamerica.com/online-payment/&#34; rel=&#34;nofollow&#34;&#62;https://www.intouchamerica.com/online-payment/&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Is there something I'm missing?&#60;/p&#62;
&#60;p&#62;Thanks
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
