<?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: Action A PHP Script upon form submission using an external php script</title>
		<link>https://legacy.forums.gravityhelp.com/topic/action-a-php-script-upon-form-submission-using-an-external-php-script</link>
		<description>Gravity Support Forums Topic: Action A PHP Script upon form submission using an external php script</description>
		<language>en-US</language>
		<pubDate>Mon, 20 Apr 2026 08:26: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/action-a-php-script-upon-form-submission-using-an-external-php-script" rel="self" type="application/rss+xml" />

		<item>
			<title>Dana Cobb on "Action A PHP Script upon form submission using an external php script"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/action-a-php-script-upon-form-submission-using-an-external-php-script#post-355829</link>
			<pubDate>Mon, 01 Jul 2013 12:13:09 +0000</pubDate>
			<dc:creator>Dana Cobb</dc:creator>
			<guid isPermaLink="false">355829@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi, Dustin,&#60;/p&#62;
&#60;p&#62;In looking at the code you provided, the best thing to do is include all the logic for the validation within the checkPostcode that you are calling from the gform_validation hook. And if the validation fails for your field, you need to set the failed validation for it and the failed validation message, like in the code example in the documentation located here: &#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; . Take a look at that documentation and see if that gets you further.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>dustin on "Action A PHP Script upon form submission using an external php script"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/action-a-php-script-upon-form-submission-using-an-external-php-script#post-349765</link>
			<pubDate>Fri, 28 Jun 2013 08:22:04 +0000</pubDate>
			<dc:creator>dustin</dc:creator>
			<guid isPermaLink="false">349765@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Thanks, just so you are aware, I have removed the code from my functions.php file because it's causing errors. &#60;/p&#62;
&#60;p&#62;Cheers
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Rob Harrell on "Action A PHP Script upon form submission using an external php script"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/action-a-php-script-upon-form-submission-using-an-external-php-script#post-349752</link>
			<pubDate>Fri, 28 Jun 2013 08:15:19 +0000</pubDate>
			<dc:creator>Rob Harrell</dc:creator>
			<guid isPermaLink="false">349752@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I'll see if the dev team can spot anything here for you.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>dustin on "Action A PHP Script upon form submission using an external php script"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/action-a-php-script-upon-form-submission-using-an-external-php-script#post-347996</link>
			<pubDate>Thu, 27 Jun 2013 10:47:30 +0000</pubDate>
			<dc:creator>dustin</dc:creator>
			<guid isPermaLink="false">347996@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi I wonder if anyone can help me?&#60;br /&#62;
I've got a call to action gravity form setup on my website where customers can enter their UK postcode and click submit. The user is then re-directed to another gravity form where they can complete their request. I've setup dynamic population so the input entered into form 1 gets populated in the second form.&#60;/p&#62;
&#60;p&#62;For Form 1 - when a user enters data &#38;amp; clicks submit (Before user is directed to form 2)&#60;br /&#62;
Upon submit I would like to action an external php script which would validate the user entry.&#60;/p&#62;
&#60;p&#62;I've tried various filters and actions But I just can't figure out how to action the PHP script.&#60;/p&#62;
&#60;p&#62;Link to form1 &#60;a href=&#34;http://my-insulation.info/&#34; rel=&#34;nofollow&#34;&#62;http://my-insulation.info/&#60;/a&#62; is the main page &#60;/p&#62;
&#60;p&#62;When I input data and click submit I get the following error -There was a problem with your submission. Errors have been highlighted below.&#60;/p&#62;
&#60;p&#62;I'm not a web developer &#38;amp; can't afford to hire one, If someone can offer any assistance I would greatly appreciate it -&#60;/p&#62;
&#60;p&#62;This is what I've done or got -&#60;/p&#62;
&#60;p&#62;//Code is placed in the themes function.php file&#60;br /&#62;
My PHP code can be seen here - &#60;a href=&#34;http://pastebin.com/S9S7dH09&#34; rel=&#34;nofollow&#34;&#62;http://pastebin.com/S9S7dH09&#60;/a&#62;
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
