<?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: Terms of Conditions</title>
		<link>https://legacy.forums.gravityhelp.com/topic/terms-of-conditions</link>
		<description>Gravity Support Forums Topic: Terms of Conditions</description>
		<language>en-US</language>
		<pubDate>Sun, 19 Apr 2026 18:48:58 +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/terms-of-conditions" rel="self" type="application/rss+xml" />

		<item>
			<title>Alex on "Terms of Conditions"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/terms-of-conditions#post-8406</link>
			<pubDate>Wed, 11 Aug 2010 01:31:54 +0000</pubDate>
			<dc:creator>Alex</dc:creator>
			<guid isPermaLink="false">8406@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;works great with PayPal. That's what I needed. Now I need to figure out how to add amounts from text fields and radio buttons...
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Kevin Flahaut on "Terms of Conditions"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/terms-of-conditions#post-7470</link>
			<pubDate>Thu, 15 Jul 2010 20:28:26 +0000</pubDate>
			<dc:creator>Kevin Flahaut</dc:creator>
			<guid isPermaLink="false">7470@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;One other note on this.. when you use the redirect page, there is sometimes a slight delay where you see the original page loading again before the redirect.&#60;/p&#62;
&#60;p&#62;One of our really awesome (and quite attractive) forum members came up with a quick solution using a built in filter. You can add this to your functions.php file and it simply hides the &#34;flash&#34; of body content until the redirect happens.&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;add_filter(&#38;quot;gform_post_submission&#38;quot;, &#38;quot;hide_form&#38;quot;, 10, 2);
function hide_form($entry, $form) {
    if($form[&#38;quot;confirmation&#38;quot;][&#38;quot;type&#38;quot;] != &#38;quot;message&#38;quot;)
        echo &#38;quot;
&#38;lt;style type=\&#38;quot;text/css\&#38;quot;&#38;gt; body { display: none; } &#38;lt;/style&#38;gt;

&#38;quot;;
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;For a full run down on what it's doing, check out Davids page via the link below.&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://ounceoftalent.com/2010/05/gravity-forms-tip-clean-confirmation-redirects/&#34; rel=&#34;nofollow&#34;&#62;http://ounceoftalent.com/2010/05/gravity-forms-tip-clean-confirmation-redirects/&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Kevin Flahaut on "Terms of Conditions"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/terms-of-conditions#post-7469</link>
			<pubDate>Thu, 15 Jul 2010 20:20:03 +0000</pubDate>
			<dc:creator>Kevin Flahaut</dc:creator>
			<guid isPermaLink="false">7469@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;David, it's totally my pleasure. I'm really pleased it worked for you. Thanks for hanging in there with me.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>David on "Terms of Conditions"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/terms-of-conditions#post-7466</link>
			<pubDate>Thu, 15 Jul 2010 20:00:05 +0000</pubDate>
			<dc:creator>David</dc:creator>
			<guid isPermaLink="false">7466@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Booyah!&#60;/p&#62;
&#60;p&#62;Ok. That worked great. You were right about the case issue. Kevin, this has been amazing support.&#60;br /&#62;
Thankyou.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Kevin Flahaut on "Terms of Conditions"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/terms-of-conditions#post-7448</link>
			<pubDate>Thu, 15 Jul 2010 11:34:29 +0000</pubDate>
			<dc:creator>Kevin Flahaut</dc:creator>
			<guid isPermaLink="false">7448@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Okay, I know what it is now, it's a case issue.&#60;/p&#62;
&#60;p&#62;go back to your page template and change..&#60;/p&#62;
&#60;p&#62;&#60;code&#62;$agree = $_GET[&#38;#39;Agree&#38;#39;];&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;to&#60;/p&#62;
&#60;p&#62;&#60;code&#62;$agree = $_GET[&#38;#39;agree&#38;#39;];&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;That should get you running. It's case-sensitive and that was making it angry. Let me know if that works for you.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Kevin Flahaut on "Terms of Conditions"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/terms-of-conditions#post-7447</link>
			<pubDate>Thu, 15 Jul 2010 11:29:54 +0000</pubDate>
			<dc:creator>Kevin Flahaut</dc:creator>
			<guid isPermaLink="false">7447@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I used a drop down like yours on my test form and it worked fine. I think something's just not configured properly somewhere still.&#60;/p&#62;
&#60;p&#62;Can you send an admin login to your site so I can take a look? If so, please send it via our &#60;a href=&#34;http://www.gravityhelp.com/contact-us&#34; rel=&#34;nofollow&#34;&#62;contact form&#60;/a&#62; and I'll take a look. Please put &#34;ATTN: Kevin&#34; in your message please.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>David on "Terms of Conditions"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/terms-of-conditions#post-7446</link>
			<pubDate>Thu, 15 Jul 2010 11:19:57 +0000</pubDate>
			<dc:creator>David</dc:creator>
			<guid isPermaLink="false">7446@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Screenshot of my form:&#60;br /&#62;
&#60;a href=&#34;http://screencast.com/t/NzdlZjlhYzI&#34; rel=&#34;nofollow&#34;&#62;http://screencast.com/t/NzdlZjlhYzI&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>David on "Terms of Conditions"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/terms-of-conditions#post-7445</link>
			<pubDate>Thu, 15 Jul 2010 11:14:44 +0000</pubDate>
			<dc:creator>David</dc:creator>
			<guid isPermaLink="false">7445@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Kevin, thanks for this great step-by-step. I must have been smoking some of that as well, as I've done all of the above, and I still haven't got it working.&#60;/p&#62;
&#60;p&#62;The clean template you provided above fixes the header errors so that is great. However, I still can't get the redirect happening. I do get to see &#60;a href=&#34;http://www.myfoursquare.net/redirect?agree=yes&#34; rel=&#34;nofollow&#34;&#62;http://www.myfoursquare.net/redirect?agree=yes&#60;/a&#62; and &#60;a href=&#34;http://www.myfoursquare.net/redirect?agree=no&#34; rel=&#34;nofollow&#34;&#62;http://www.myfoursquare.net/redirect?agree=no&#60;/a&#62; in the address bar, but these don't then connect to the pages set in the php template file. &#60;/p&#62;
&#60;p&#62;Can I just check one thing. The form: Are we talking checkboxes or drop down? Does it matter? I have tried both. I am currently using a dropdown with Field Label &#34;Agree to Terms?&#34; and two Choices: &#34;yes&#34; and &#34;no&#34;&#60;/p&#62;
&#60;p&#62;My page with the form:&#60;br /&#62;
&#60;a href=&#34;http://www.myfoursquare.net/page-with-form&#34; rel=&#34;nofollow&#34;&#62;http://www.myfoursquare.net/page-with-form&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;My query string (which I built using the form field drop down):&#60;br /&#62;
agree={Agree to terms?:1} &#60;/p&#62;
&#60;p&#62;My redirect page:&#60;br /&#62;
&#60;a href=&#34;http://www.myfoursquare.net/redirect&#34; rel=&#34;nofollow&#34;&#62;http://www.myfoursquare.net/redirect&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;My Template code:&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;&#38;lt;?php
// redirect form based on the agree/disagree value passed in querystring
$agree = $_GET[&#38;#39;Agree&#38;#39;];

	switch ($agree)
	{

		case &#38;quot;yes&#38;quot;:
		// if yes redirect to the following page
		header(&#38;quot;Location: http:&#38;#47;&#38;#47;www.myfoursquare.net/archives&#38;quot;);
		break;

		case &#38;quot;no&#38;quot;:
		// if no redirect to the following page
		header(&#38;quot;Location: http:&#38;#47;&#38;#47;www.myfoursquare.net/contact-new&#38;quot;);
		break;

	}

/*
Template Name: form terms redirect
*/

?&#38;gt;&#60;/code&#62;&#60;/pre&#62;</description>
		</item>
		<item>
			<title>Kevin Flahaut on "Terms of Conditions"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/terms-of-conditions#post-7442</link>
			<pubDate>Thu, 15 Jul 2010 10:15:36 +0000</pubDate>
			<dc:creator>Kevin Flahaut</dc:creator>
			<guid isPermaLink="false">7442@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Okay, looking back at this now, not sure what I was smoking, but this wasn't really clear enough. Here's the full run down, and hopefully a little easier to follow.&#60;/p&#62;
&#60;p&#62;You'll want to create a totally new file for the page template.. I called mine template_redirect.php in the root of the theme directory. Open that file, and add this..&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;&#38;lt;?php
// redirect form based on the agree/disagree value passed in querystring
$agree = $_GET[&#38;#39;agree&#38;#39;];

	switch ($agree)
	{

		case &#38;quot;yes&#38;quot;:
		// if yes redirect to the following page
		header(&#38;quot;Location: http:&#38;#47;&#38;#47;www.yourdomain.com/agree_to_terms_page_name/&#38;quot;);
		break;

		case &#38;quot;no&#38;quot;:
		// if no redirect to the following page
		header(&#38;quot;Location: http:&#38;#47;&#38;#47;www.yourdomain.com/disagree_to_terms_page_name/&#38;quot;);
		break;

	}

/*
Template Name: form terms redirect
*/

?&#38;gt;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Since we're using this simply for a redirect, we don't need anything else on the page. Of course, you'll configure the URL's to your actual destination pages.&#60;/p&#62;
&#60;p&#62;Next, you'll want to go to &#34;add pages&#34;, create a new page then select the &#34;form terms redirect&#34; as the page template. Name the page &#34;redirect&#34; then save everything.&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://grab.by/grabs/4e1c339e7db73a8931df963848473b37.png&#34; rel=&#34;nofollow&#34;&#62;page settings&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Next, go to your form, click on the form settings at the top of the page, then the confirmation tab. Select the &#34;redirect&#34; option under the confirmation message heading. There you will put in the URL of the page you want to redirect the form to.. in this case, to the page you just created so something like.. &#34;http://www.yourdomain.com/redirect/&#34;&#60;/p&#62;
&#60;p&#62;Then, you'll need to check the &#34;Pass Field Data Via Query String&#34; option and build your query string. You have to manually add the first portion &#34;agree=&#34; then select from the drop down list directly above that field and find the &#34;agree&#34; field in your form, click on that and it will insert the proper token to populate the query string.&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://grab.by/grabs/896ae668c140c44d2c01d81e80f460a5.png&#34; rel=&#34;nofollow&#34;&#62;confirmation settings example&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Save the form settings, then go test your form. The form should redirect to the confirmation page you created, then based on the agree field value passed to it, will redirect to whatever page you want from there.&#60;/p&#62;
&#60;p&#62;I hope that helps clear it up a bit.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>David on "Terms of Conditions"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/terms-of-conditions#post-7441</link>
			<pubDate>Thu, 15 Jul 2010 06:40:47 +0000</pubDate>
			<dc:creator>David</dc:creator>
			<guid isPermaLink="false">7441@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Still getting this error though:&#60;/p&#62;
&#60;p&#62;Warning: Cannot modify header information - headers already sent by (output started at /home2/myfoursq/public_html/wp-content/themes/coffeebreak/template-gravityredirect.php:7) in /home2/myfoursq/public_html/wp-content/themes/coffeebreak/template-gravityredirect.php  on line 21&#60;/p&#62;
&#60;p&#62;Depending on which value I choose in the dropdown (yes or no), I get the error above with the php row number corresponding to the location line for yes (16) or for no (21).&#60;/p&#62;
&#60;p&#62;I'm using this code in my template:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;&#38;lt;?php
/*
Template Name: Gravity Redirect
*/
?&#38;gt;

&#38;lt;?php
// redirect form based on the agree/disagree value passed in querystring
$agree = $_GET[&#38;#39;agree&#38;#39;];

	switch ($agree)
	{

		case yes:
		// if yes redirect to the blog
		header(&#38;quot;Location: http:&#38;#47;&#38;#47;www.myfoursquare.net/archives&#38;quot;);
		break;

		case no:
		// if no redirect to the contact page
		header(&#38;quot;Location: http:&#38;#47;&#38;#47;www.myfoursquare.net/contact-new&#38;quot;);
		break;

	}
?&#38;gt;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Any ideas?
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
