<?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 Tag: hook - Recent Posts</title>
		<link>https://legacy.forums.gravityhelp.com/tags/hook</link>
		<description>Gravity Support Forums Tag: hook - Recent Posts</description>
		<language>en-US</language>
		<pubDate>Sun, 19 Apr 2026 18:16:14 +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/tags/hook" 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>
		<item>
			<title>David Peralty on "Help using a Hook"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/help-using-a-hook#post-332148</link>
			<pubDate>Wed, 19 Jun 2013 11:01:20 +0000</pubDate>
			<dc:creator>David Peralty</dc:creator>
			<guid isPermaLink="false">332148@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;If you have a link to get to the form, that link would be like this:&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://yoursite.com/pagewithform/?event_name=Circus&#34; rel=&#34;nofollow&#34;&#62;http://yoursite.com/pagewithform/?event_name=Circus&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;On the Page with the form, you would have a field that is hidden that has Allow Dynamic Population checked off, with the parameter being event_name. Then when someone comes to the form with a query string, that field will be filled out.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Andy on "Help using a Hook"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/help-using-a-hook#post-330795</link>
			<pubDate>Tue, 18 Jun 2013 20:15:27 +0000</pubDate>
			<dc:creator>Andy</dc:creator>
			<guid isPermaLink="false">330795@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;???????
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Andy on "Help using a Hook"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/help-using-a-hook#post-323489</link>
			<pubDate>Fri, 14 Jun 2013 14:52:18 +0000</pubDate>
			<dc:creator>Andy</dc:creator>
			<guid isPermaLink="false">323489@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;what if I embed the form on the same page like this... it doesn't seem to work... I can send you a private link to our beta site to check this out..&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;&#38;lt;a class=&#38;quot;ajax&#38;quot; href=&#38;quot;#contact-calendar&#38;quot;&#38;gt;Book Tickets&#38;lt;/a&#38;gt;

&#38;lt;div style=&#38;quot;display:none;&#38;quot;&#38;gt;
&#38;lt;div id=&#38;quot;contact-calendar&#38;quot; &#38;gt;
[gravityform id=10 ajax=true description=false title=false tabindex=200]
&#38;lt;/div&#38;gt;
&#38;lt;/div&#38;gt;&#60;/code&#62;&#60;/pre&#62;</description>
		</item>
		<item>
			<title>David Peralty on "Help using a Hook"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/help-using-a-hook#post-321631</link>
			<pubDate>Thu, 13 Jun 2013 20:57:45 +0000</pubDate>
			<dc:creator>David Peralty</dc:creator>
			<guid isPermaLink="false">321631@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;The form URL is whatever page you've embedded the form on in your site.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Andy on "Help using a Hook"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/help-using-a-hook#post-321527</link>
			<pubDate>Thu, 13 Jun 2013 19:52:13 +0000</pubDate>
			<dc:creator>Andy</dc:creator>
			<guid isPermaLink="false">321527@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Following the tutorial - I need this&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://siteurl.com/form-url/?event_name=This&#34; rel=&#34;nofollow&#34;&#62;http://siteurl.com/form-url/?event_name=This&#60;/a&#62; is test&#60;/p&#62;
&#60;p&#62;But what is the form-url ?&#60;/p&#62;
&#60;p&#62;I can't find the form-url anywhere in the options..
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Andy on "Help using a Hook"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/help-using-a-hook#post-321285</link>
			<pubDate>Thu, 13 Jun 2013 17:25:30 +0000</pubDate>
			<dc:creator>Andy</dc:creator>
			<guid isPermaLink="false">321285@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;this doesn't seem to work with my scenario.. could you give me a specific example..
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
