<?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: Hide Credit Card Fields When Total Is Zero</title>
		<link>https://legacy.forums.gravityhelp.com/topic/hide-credit-card-fields-when-total-is-zero</link>
		<description>Gravity Support Forums Topic: Hide Credit Card Fields When Total Is Zero</description>
		<language>en-US</language>
		<pubDate>Sat, 04 Apr 2026 16:20:33 +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/hide-credit-card-fields-when-total-is-zero" rel="self" type="application/rss+xml" />

		<item>
			<title>aguaweb on "Hide Credit Card Fields When Total Is Zero"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/hide-credit-card-fields-when-total-is-zero#post-178480</link>
			<pubDate>Wed, 20 Mar 2013 19:31:37 +0000</pubDate>
			<dc:creator>aguaweb</dc:creator>
			<guid isPermaLink="false">178480@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I found a workable solution to this problem, described here:  &#60;a href=&#34;http://www.gravityhelp.com/forums/topic/authorizenet-hide-when-total-is-0#post-178479&#34; rel=&#34;nofollow&#34;&#62;http://www.gravityhelp.com/forums/topic/authorizenet-hide-when-total-is-0#post-178479&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Dana Cobb on "Hide Credit Card Fields When Total Is Zero"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/hide-credit-card-fields-when-total-is-zero#post-93569</link>
			<pubDate>Tue, 20 Nov 2012 13:16:56 +0000</pubDate>
			<dc:creator>Dana Cobb</dc:creator>
			<guid isPermaLink="false">93569@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;There are a lot of complexities surrounding the total field. There have been discussions regarding allowing it with conditional logic, but this is not in any future plans or on the roadmap at this time, and most likely not any time soon.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "Hide Credit Card Fields When Total Is Zero"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/hide-credit-card-fields-when-total-is-zero#post-93235</link>
			<pubDate>Mon, 19 Nov 2012 22:35:01 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">93235@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I'll bring this to Dana's attention to see if there is any update.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>kingjeffrey on "Hide Credit Card Fields When Total Is Zero"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/hide-credit-card-fields-when-total-is-zero#post-93167</link>
			<pubDate>Mon, 19 Nov 2012 19:11:48 +0000</pubDate>
			<dc:creator>kingjeffrey</dc:creator>
			<guid isPermaLink="false">93167@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Any progress on allowing the &#34;total&#34; field to be available within conditional logic?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>kingjeffrey on "Hide Credit Card Fields When Total Is Zero"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/hide-credit-card-fields-when-total-is-zero#post-74845</link>
			<pubDate>Tue, 11 Sep 2012 17:12:22 +0000</pubDate>
			<dc:creator>kingjeffrey</dc:creator>
			<guid isPermaLink="false">74845@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Dana Cobb,&#60;/p&#62;
&#60;blockquote&#62;&#60;p&#62;
But then I had another thought, since you have the field with the promotional code, why don't you use that for your conditional on the credit card field? When the promo code is &#34;100p&#34;, hide the credit card field.
&#60;/p&#62;&#60;/blockquote&#62;
&#60;p&#62;Unfortunately not. I am using AJAX to query a database to validate and apply the promocode. I do not have a fixed set of promo codes. Plus, if I use conditional logic to hide the credit card info, it will no longer be tested for the required validation, so I don't want to step to far outside the existing infrastructure.&#60;/p&#62;
&#60;p&#62;My backup plan (and it is an undesired hack) is to create a hidden field that can be updated dynamically by javascript when the total is zero, and hide the credit card fields when the condition is met on the hidden (and redundant) field.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Dana Cobb on "Hide Credit Card Fields When Total Is Zero"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/hide-credit-card-fields-when-total-is-zero#post-73293</link>
			<pubDate>Thu, 30 Aug 2012 12:07:24 +0000</pubDate>
			<dc:creator>Dana Cobb</dc:creator>
			<guid isPermaLink="false">73293@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi, kingjeffrey,&#60;/p&#62;
&#60;p&#62;My original thought was that you could use the &#34;gform_pre_render&#34; hook and manually create the conditional to use the total field. This only caused the functionality to fire the first time the page loaded when I set it up in my test environment; so I abandoned playing with that.&#60;/p&#62;
&#60;p&#62;But then I had another thought, since you have the field with the promotional code, why don't you use that for your conditional on the credit card field? When the promo code is &#34;100p&#34;, hide the credit card field.&#60;/p&#62;
&#60;p&#62;Will that work for you?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "Hide Credit Card Fields When Total Is Zero"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/hide-credit-card-fields-when-total-is-zero#post-72860</link>
			<pubDate>Tue, 28 Aug 2012 01:12:07 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">72860@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I'll check with them again on Tuesday about using the total as a condition.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>kingjeffrey on "Hide Credit Card Fields When Total Is Zero"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/hide-credit-card-fields-when-total-is-zero#post-72765</link>
			<pubDate>Mon, 27 Aug 2012 12:54:11 +0000</pubDate>
			<dc:creator>kingjeffrey</dc:creator>
			<guid isPermaLink="false">72765@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Do you have any new info from the developers? It would be very helpful to hide all the payment info if the total is zero.&#60;/p&#62;
&#60;p&#62;Additionally, your assessment seems to be incorrect. I am able to choose text inputs and hidden fields for conditional logic. I just can't choose the total field (as it does not show up in the list).
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "Hide Credit Card Fields When Total Is Zero"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/hide-credit-card-fields-when-total-is-zero#post-71619</link>
			<pubDate>Sun, 19 Aug 2012 15:22:53 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">71619@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I see the problem now after trying to configure a form like this.  To use conditional logic for the Credit Card information, (authorize.net) you need to have a drop down, radio button or checkbox field as the condition.  It does not appear that the total can be used as a condition here.  Let me check with the developers to see if there is a work around or something simple I am overlooking.  Thank you.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>kingjeffrey on "Hide Credit Card Fields When Total Is Zero"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/hide-credit-card-fields-when-total-is-zero#post-71561</link>
			<pubDate>Sat, 18 Aug 2012 12:59:18 +0000</pubDate>
			<dc:creator>kingjeffrey</dc:creator>
			<guid isPermaLink="false">71561@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Here is a link to the Dev Site: &#60;a href=&#34;http://mastersports.kingdesk.com/academy/classes/baseball-101-2/&#34; rel=&#34;nofollow&#34;&#62;http://mastersports.kingdesk.com/academy/classes/baseball-101-2/&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Click on the &#34;Register Now&#34; button. Once you create an account, you will be taken to the Checkout form.&#60;/p&#62;
&#60;p&#62;Use promo code &#34;100p&#34; for a 100% discount.&#60;/p&#62;
&#60;p&#62;On the second page of the Checkout form, credit card information (and address verification) are required. I'd like these to only be required if the total is greater than zero.&#60;/p&#62;
&#60;p&#62;I am using the Authorize.net Add-On.&#60;/p&#62;
&#60;p&#62;(The Auth.net Add On is in development mode. Transactions are not live. You can use the cc number &#34;4111 1111 1111 1111&#34; if you need to)
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
