<?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: pre_submission_filter - Error</title>
		<link>https://legacy.forums.gravityhelp.com/topic/pre_submission_filter-error</link>
		<description>Gravity Support Forums Topic: pre_submission_filter - Error</description>
		<language>en-US</language>
		<pubDate>Mon, 20 Apr 2026 08: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/pre_submission_filter-error" rel="self" type="application/rss+xml" />

		<item>
			<title>vi on "pre_submission_filter - Error"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/pre_submission_filter-error#post-53481</link>
			<pubDate>Mon, 26 Mar 2012 15:53:13 +0000</pubDate>
			<dc:creator>vi</dc:creator>
			<guid isPermaLink="false">53481@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;What sort of turn-around should I hope for on this? It's a bottle-neck to our site going live. Any chance someone could look at it for me today? Thanks a ton! let me know what you need, if anything...
&#60;/p&#62;</description>
		</item>
		<item>
			<title>vi on "pre_submission_filter - Error"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/pre_submission_filter-error#post-53409</link>
			<pubDate>Sun, 25 Mar 2012 23:34:03 +0000</pubDate>
			<dc:creator>vi</dc:creator>
			<guid isPermaLink="false">53409@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;A while back, you guys helped me make a redirect which I never quite got working. Now, it's the last thing before we go live with our new site. We need the redirect to offer a different 30-day trial depending on which product they choose. The form is here;&#60;br /&#62;
&#60;a href=&#34;http://vit-sandbox.com/forms/try-it/&#34; rel=&#34;nofollow&#34;&#62;http://vit-sandbox.com/forms/try-it/&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;There error I get is:&#60;br /&#62;
Fatal error: Call to undefined function add_filter() in /home/vitsandb/public_html/wp-content/themes/vi/gform_redirect.php on line 3...&#60;br /&#62;
Help!&#60;/p&#62;
&#60;p&#62;The first few lines of the form of the gform_redirect.php file are:&#60;br /&#62;
&#38;lt;?php&#60;/p&#62;
&#60;p&#62;        add_filter('gform_pre_submission_filter_2', 'custom_redirect_url');&#60;br /&#62;
		function custom_redirect_url($form){&#60;/p&#62;
&#60;p&#62;			$condition = RGForms::post('input_7');&#60;br /&#62;
			if(!$condition)&#60;br /&#62;
			return $form;&#60;/p&#62;
&#60;p&#62;		    $form['confirmation']['type'] = 'redirect';&#60;br /&#62;
			switch($condition){&#60;br /&#62;
			case 'pdf2image':&#60;br /&#62;
			$form['confirmation']['url'] = 'http://www.visual-integrity.com/downloads/current-pdf2image.exe';&#60;br /&#62;
			break;&#60;br /&#62;
....&#60;br /&#62;
I can send a paste of the file or you can login and take a look. Let me know what's best. Thanks a million for your great plug-in and or your help...&#60;br /&#62;
jean&#60;/p&#62;
&#60;p&#62;If someone can login and and take a look, I'd be grateful.
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
