<?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: Add surcharge to the Total on form.</title>
		<link>https://legacy.forums.gravityhelp.com/topic/add-surcharge-to-the-total-on-form</link>
		<description>Gravity Support Forums Topic: Add surcharge to the Total on form.</description>
		<language>en-US</language>
		<pubDate>Mon, 20 Apr 2026 03:27:10 +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/add-surcharge-to-the-total-on-form" rel="self" type="application/rss+xml" />

		<item>
			<title>samwinslow on "Add surcharge to the Total on form."</title>
			<link>https://legacy.forums.gravityhelp.com/topic/add-surcharge-to-the-total-on-form#post-53506</link>
			<pubDate>Mon, 26 Mar 2012 18:21:25 +0000</pubDate>
			<dc:creator>samwinslow</dc:creator>
			<guid isPermaLink="false">53506@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Where do I add this code, as I have the exact same problem, and I want it to do this on all of the forms I create for my website, so how do I do that?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Robert on "Add surcharge to the Total on form."</title>
			<link>https://legacy.forums.gravityhelp.com/topic/add-surcharge-to-the-total-on-form#post-52610</link>
			<pubDate>Thu, 15 Mar 2012 17:50:17 +0000</pubDate>
			<dc:creator>Robert</dc:creator>
			<guid isPermaLink="false">52610@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;The first solution is great and does almost exactly what I need but is there a way to have it add/subtract the amount only if the total reaches a certain amount? I appreciate your help!&#60;/p&#62;
&#60;p&#62;Here is the link to my form:  &#60;a href=&#34;http://1106design.com/newsite/services/&#34; rel=&#34;nofollow&#34;&#62;http://1106design.com/newsite/services/&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>David Smith on "Add surcharge to the Total on form."</title>
			<link>https://legacy.forums.gravityhelp.com/topic/add-surcharge-to-the-total-on-form#post-25633</link>
			<pubDate>Mon, 16 May 2011 16:50:40 +0000</pubDate>
			<dc:creator>David Smith</dc:creator>
			<guid isPermaLink="false">25633@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;The code above has been updated to prevent the surcharge from being recalculated inaccurately when validation errors force the user to submit the form again: &#60;a href=&#34;http://pastie.org/1912751&#34; rel=&#34;nofollow&#34;&#62;http://pastie.org/1912751&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Ruby on "Add surcharge to the Total on form."</title>
			<link>https://legacy.forums.gravityhelp.com/topic/add-surcharge-to-the-total-on-form#post-21893</link>
			<pubDate>Mon, 28 Mar 2011 22:10:04 +0000</pubDate>
			<dc:creator>Ruby</dc:creator>
			<guid isPermaLink="false">21893@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;The updated code doesn't let me log in to my wp admin. A blank page just comes.  I have done what Carl said and that works.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Ruby on "Add surcharge to the Total on form."</title>
			<link>https://legacy.forums.gravityhelp.com/topic/add-surcharge-to-the-total-on-form#post-21879</link>
			<pubDate>Mon, 28 Mar 2011 20:02:38 +0000</pubDate>
			<dc:creator>Ruby</dc:creator>
			<guid isPermaLink="false">21879@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Thanks David. Works beautifully.&#60;/p&#62;
&#60;p&#62;When I try to change City into Suburb, I can't access my sites admin, it says there's an error on the line which has &#38;lt;?php
&#60;/p&#62;</description>
		</item>
		<item>
			<title>David Smith on "Add surcharge to the Total on form."</title>
			<link>https://legacy.forums.gravityhelp.com/topic/add-surcharge-to-the-total-on-form#post-21750</link>
			<pubDate>Mon, 28 Mar 2011 11:03:38 +0000</pubDate>
			<dc:creator>David Smith</dc:creator>
			<guid isPermaLink="false">21750@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi Ruby,&#60;/p&#62;
&#60;p&#62;Give the 'gform_hidden' class a try but if you find that the value is not being passed to PayPal, try replacing the old code with this updated code:&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://pastie.org/1726665&#34; rel=&#34;nofollow&#34;&#62;http://pastie.org/1726665&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Carl Hancock on "Add surcharge to the Total on form."</title>
			<link>https://legacy.forums.gravityhelp.com/topic/add-surcharge-to-the-total-on-form#post-21747</link>
			<pubDate>Mon, 28 Mar 2011 10:59:14 +0000</pubDate>
			<dc:creator>Carl Hancock</dc:creator>
			<guid isPermaLink="false">21747@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Currently the Product field does not support a Hidden field type, but it's a good idea and we'll look at adding that in an  upcoming release (possibly the next one).  Until then, you can hide the surcharge field by editing it, going to the Advanced tab and in the Custom CSS Class field enter: gform_hidden&#60;/p&#62;
&#60;p&#62;The &#34;City&#34; sub-label of the Address Field can be changed via custom code you would add to your themes functions.php where any custom code would typically go.  Documentation for the filter to change the &#34;City&#34; label can be found here:&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://www.gravityhelp.com/documentation/page/Gform_address_city&#34; rel=&#34;nofollow&#34;&#62;http://www.gravityhelp.com/documentation/page/Gform_address_city&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Ruby on "Add surcharge to the Total on form."</title>
			<link>https://legacy.forums.gravityhelp.com/topic/add-surcharge-to-the-total-on-form#post-21721</link>
			<pubDate>Sun, 27 Mar 2011 19:25:50 +0000</pubDate>
			<dc:creator>Ruby</dc:creator>
			<guid isPermaLink="false">21721@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Thank you Thank you Thank you Thank you.&#60;/p&#62;
&#60;p&#62;Just two more questions, Is it possible to make it so users cannot type in the surcharge field. I tried 200 and it was added to the Total with the surcharge counting it. Or can I make it hidden? (as long as it appears on the Paypal page)&#60;/p&#62;
&#60;p&#62;Also in the address field is it possible to change &#34;City&#34; to &#34;Suburb&#34;?&#60;/p&#62;
&#60;p&#62;Thank you so much for your help!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>David Smith on "Add surcharge to the Total on form."</title>
			<link>https://legacy.forums.gravityhelp.com/topic/add-surcharge-to-the-total-on-form#post-21670</link>
			<pubDate>Sun, 27 Mar 2011 10:18:08 +0000</pubDate>
			<dc:creator>David Smith</dc:creator>
			<guid isPermaLink="false">21670@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi Ruby,&#60;/p&#62;
&#60;p&#62;Here is a method you can use to accomplish this:&#60;/p&#62;
&#60;ol&#62;
&#60;li&#62;Add this code to your theme's functions.php file: &#60;a href=&#34;http://pastie.org/1722092&#34; rel=&#34;nofollow&#34;&#62;http://pastie.org/1722092&#60;/a&#62;&#60;/li&#62;
&#60;li&#62;On the first line of the code, update the '45' to the ID of your form&#60;/li&#62;
&#60;li&#62;Go to your form admin and add a new product field to your form. Select &#34;User Defined Price&#34;as the field type and specify 'surcharge' as the CSS class. &#60;a href=&#34;http://grab.by/9I23&#34; rel=&#34;nofollow&#34;&#62;http://grab.by/9I23&#60;/a&#62; &#60;a href=&#34;http://grab.by/9I24&#34; rel=&#34;nofollow&#34;&#62;http://grab.by/9I24&#60;/a&#62; &#60;/li&#62;
&#60;li&#62;Make sure your form has a total field.&#60;/li&#62;
&#60;li&#62;That's it! It should look something like this when submitting to PayPal: &#60;a href=&#34;http://grab.by/9I2e&#34; rel=&#34;nofollow&#34;&#62;http://grab.by/9I2e&#60;/a&#62; &#60;/li&#62;
&#60;/ol&#62;</description>
		</item>
		<item>
			<title>Ruby on "Add surcharge to the Total on form."</title>
			<link>https://legacy.forums.gravityhelp.com/topic/add-surcharge-to-the-total-on-form#post-21423</link>
			<pubDate>Thu, 24 Mar 2011 19:16:39 +0000</pubDate>
			<dc:creator>Ruby</dc:creator>
			<guid isPermaLink="false">21423@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi&#60;/p&#62;
&#60;p&#62;Paypal has fees when you want to sell thru them. Can someone please help me put a 2.5% surcharge on the total so that the buyers will pay for the fees?&#60;/p&#62;
&#60;p&#62;Please help me, I need to do this urgently.
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
