<?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: Custom Form Validation</title>
		<link>https://legacy.forums.gravityhelp.com/topic/custom-form-validation</link>
		<description>Gravity Support Forums Topic: Custom Form Validation</description>
		<language>en-US</language>
		<pubDate>Sat, 18 Apr 2026 11:14:27 +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/custom-form-validation" rel="self" type="application/rss+xml" />

		<item>
			<title>Chris Hajer on "Custom Form Validation"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/custom-form-validation#post-154676</link>
			<pubDate>Tue, 26 Feb 2013 01:32:46 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">154676@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Please let us know if you get stuck.  We'll be happy to help.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>visions on "Custom Form Validation"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/custom-form-validation#post-154659</link>
			<pubDate>Tue, 26 Feb 2013 01:14:29 +0000</pubDate>
			<dc:creator>visions</dc:creator>
			<guid isPermaLink="false">154659@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Thanks, I think I should be able to work it out from that
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "Custom Form Validation"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/custom-form-validation#post-154644</link>
			<pubDate>Tue, 26 Feb 2013 01:00:06 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">154644@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;If you have the commission amount stored in a form field with a parameter name of &#34;commission_value&#34;, you will need to compare the amounts which were entered to the value of this field.  Without knowing what field IDs you are using, it's hard to give you the code to do this.  However, you would use the gform_validation hook to compare all the values, and return a validation error after the form is submitted, if the amounts exceed the commission balance.&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://www.gravityhelp.com/documentation/page/Gform_validation&#34; rel=&#34;nofollow&#34;&#62;http://www.gravityhelp.com/documentation/page/Gform_validation&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>visions on "Custom Form Validation"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/custom-form-validation#post-154622</link>
			<pubDate>Tue, 26 Feb 2013 00:24:05 +0000</pubDate>
			<dc:creator>visions</dc:creator>
			<guid isPermaLink="false">154622@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hello&#60;/p&#62;
&#60;p&#62;I have a site where users earn commissions through referral of ad placements&#60;br /&#62;
Once their commission gets up to $25 they can choose to redeem their commission through issuance of gift vouchers.   &#60;/p&#62;
&#60;p&#62;I'm using Gravity forms for them to fill out a form to request to redeem their commission.&#60;/p&#62;
&#60;p&#62;In the form they can select 2 stores that they want a gift voucher for and then enter the value they want to spend in each store.&#60;/p&#62;
&#60;p&#62;The problem is that I need to validate the form so the total amount of these 2 fields is not greater than their total commission balance which is passed to the form through a $_GET value.&#60;/p&#62;
&#60;p&#62;eg. If my commission balance is $40.00, then the combined total of the 2 fields can't be more than 40&#60;/p&#62;
&#60;p&#62;I am embedding my form into a page template using do_shortcode&#60;/p&#62;
&#60;p&#62;echo do_shortcode(&#34; [gravityforms id=7 title='false' description='false' field_values='commission_value=&#34;.$_GET['balance'].&#34;);&#60;/p&#62;
&#60;p&#62;Can you give any advice on how I can hook into the form validation to validate these fields?
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
