<?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: Analytics code with return value</title>
		<link>https://legacy.forums.gravityhelp.com/topic/analytics-code-with-return-value</link>
		<description>Gravity Support Forums Topic: Analytics code with return value</description>
		<language>en-US</language>
		<pubDate>Mon, 13 Apr 2026 08:05:57 +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/analytics-code-with-return-value" rel="self" type="application/rss+xml" />

		<item>
			<title>zuli on "Analytics code with return value"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/analytics-code-with-return-value#post-45855</link>
			<pubDate>Mon, 09 Jan 2012 07:17:47 +0000</pubDate>
			<dc:creator>zuli</dc:creator>
			<guid isPermaLink="false">45855@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi,&#60;br /&#62;
I've added a function to get a registration code via a php function in the gform_pre_submission_1&#60;/p&#62;
&#60;p&#62;function key_generation($form)&#60;br /&#62;
{&#60;br /&#62;
	require_once(ABSPATH.'/getkey.php');&#60;br /&#62;
	$_POST[&#34;input_3&#34;] = $ResDesc;&#60;br /&#62;
}&#60;br /&#62;
add_action(&#34;gform_pre_submission_1&#34;, &#34;key_generation&#34;);&#60;/p&#62;
&#60;p&#62;Now I want to execute this function:&#60;br /&#62;
_kmq.push(['alias', 'bob', 'bob@bob.com']);&#60;br /&#62;
where bob should be $ResDesc and &#60;a href=&#34;mailto:bob@bob.com&#34;&#62;bob@bob.com&#60;/a&#62; should be another input field.&#60;/p&#62;
&#60;p&#62;What's the best way to do this? In which event? can I use the confirmation message?&#60;br /&#62;
Best&#60;br /&#62;
R
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
