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

		<item>
			<title>Chris Hajer on "User defined price with minimum and maximum amount"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/user-defined-price-with-minimum-and-maximum-amount#post-101825</link>
			<pubDate>Wed, 12 Dec 2012 20:19:49 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">101825@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;@obxm, please open a regular support forum topic.  You piggybacked onto a feature request but need additional support at this point.&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://www.gravityhelp.com/forums/forum/gravity-forms#postform&#34; rel=&#34;nofollow&#34;&#62;http://www.gravityhelp.com/forums/forum/gravity-forms#postform&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>obxm on "User defined price with minimum and maximum amount"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/user-defined-price-with-minimum-and-maximum-amount#post-101788</link>
			<pubDate>Wed, 12 Dec 2012 17:24:33 +0000</pubDate>
			<dc:creator>obxm</dc:creator>
			<guid isPermaLink="false">101788@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Sorry, maybe I can rephrase this question to be easier to answer....&#60;br /&#62;
Since the user-defined price number entered into the form is reformatted to $xx.xx then how do I validate that? &#60;/p&#62;
&#60;p&#62;When I use the function with a &#38;lt; 25 as the if statement, it won't pass any values entered even if they are 25 and greater.&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;add_filter(&#38;quot;gform_field_validation_5_1&#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; 25){
        $result[&#38;quot;is_valid&#38;quot;] = false;
        $result[&#38;quot;message&#38;quot;] = &#38;quot;Please enter an amount of $25 or more.&#38;quot;;
    }
    return $result;
}&#60;/code&#62;&#60;/pre&#62;</description>
		</item>
		<item>
			<title>obxm on "User defined price with minimum and maximum amount"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/user-defined-price-with-minimum-and-maximum-amount#post-101768</link>
			<pubDate>Wed, 12 Dec 2012 15:51:39 +0000</pubDate>
			<dc:creator>obxm</dc:creator>
			<guid isPermaLink="false">101768@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Thanks!  Brilliant.&#60;br /&#62;
So, what value/variable is the price listed as from the product pricing field?  When using the function as its written doesn't work.  I think i'm on the right track, so it should be $price or $number instead of $value ?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>David Peralty on "User defined price with minimum and maximum amount"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/user-defined-price-with-minimum-and-maximum-amount#post-101754</link>
			<pubDate>Wed, 12 Dec 2012 15:13:41 +0000</pubDate>
			<dc:creator>David Peralty</dc:creator>
			<guid isPermaLink="false">101754@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;obxm - You could use gform_field_validation and check if the number is less than $20, then return an error. &#60;a href=&#34;http://www.gravityhelp.com/documentation/page/Gform_field_validation&#34; rel=&#34;nofollow&#34;&#62;http://www.gravityhelp.com/documentation/page/Gform_field_validation&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>obxm on "User defined price with minimum and maximum amount"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/user-defined-price-with-minimum-and-maximum-amount#post-101753</link>
			<pubDate>Wed, 12 Dec 2012 15:05:34 +0000</pubDate>
			<dc:creator>obxm</dc:creator>
			<guid isPermaLink="false">101753@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;It seems like this would have been added already.  I need a minimum price field b/c I would like the user to submit the value of, for instance, a gift card, but I don't want anyone buying one for less than $20.&#60;/p&#62;
&#60;p&#62;I am open to suggestions of other ways to do this.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Clifford on "User defined price with minimum and maximum amount"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/user-defined-price-with-minimum-and-maximum-amount#post-85131</link>
			<pubDate>Tue, 30 Oct 2012 08:08:46 +0000</pubDate>
			<dc:creator>Clifford</dc:creator>
			<guid isPermaLink="false">85131@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I came to the support forum looking for exactly this feature. I vote for it. :-)&#60;/p&#62;
&#60;p&#62;We have an HOA that allows PayPal payments and each person might owe a different amount -- but we don't want them setting up $1 per year over 12 months... So we want to encourage $25 or greater amounts. Plus, factoring in Micropayment settings. &#60;/p&#62;
&#60;p&#62;Thank you.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>David Peralty on "User defined price with minimum and maximum amount"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/user-defined-price-with-minimum-and-maximum-amount#post-81206</link>
			<pubDate>Mon, 15 Oct 2012 15:21:39 +0000</pubDate>
			<dc:creator>David Peralty</dc:creator>
			<guid isPermaLink="false">81206@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;We no longer speculate on when features will be added. It is based on user need, developer resources, and WordPress updates/focuses.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>srkmath on "User defined price with minimum and maximum amount"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/user-defined-price-with-minimum-and-maximum-amount#post-81192</link>
			<pubDate>Mon, 15 Oct 2012 14:36:30 +0000</pubDate>
			<dc:creator>srkmath</dc:creator>
			<guid isPermaLink="false">81192@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;We hope this will be done soon since the earlier request was 18 months back and it hasn't been done yet.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "User defined price with minimum and maximum amount"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/user-defined-price-with-minimum-and-maximum-amount#post-81062</link>
			<pubDate>Mon, 15 Oct 2012 07:04:01 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">81062@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;We'll move this to feature requests for now.  Thank you for the reminder.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>srkmath on "User defined price with minimum and maximum amount"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/user-defined-price-with-minimum-and-maximum-amount#post-81010</link>
			<pubDate>Mon, 15 Oct 2012 03:36:26 +0000</pubDate>
			<dc:creator>srkmath</dc:creator>
			<guid isPermaLink="false">81010@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi,&#60;br /&#62;
  We want user defined price with min and max amount that could be limited.&#60;br /&#62;
This was discussed in one of the forums:&#60;br /&#62;
&#60;a href=&#34;http://www.gravityhelp.com/forums/topic/no-required-rule-for-product-field#post-20757&#34; rel=&#34;nofollow&#34;&#62;http://www.gravityhelp.com/forums/topic/no-required-rule-for-product-field#post-20757&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Could this be implemented in the next version?&#60;/p&#62;
&#60;p&#62;Thanks,
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
