<?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: Multiple forms with gform_after_submission</title>
		<link>https://legacy.forums.gravityhelp.com/topic/multiple-forms-with-gform_after_submission</link>
		<description>Gravity Support Forums Topic: Multiple forms with gform_after_submission</description>
		<language>en-US</language>
		<pubDate>Mon, 20 Apr 2026 01:03:52 +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/multiple-forms-with-gform_after_submission" rel="self" type="application/rss+xml" />

		<item>
			<title>Chris Hajer on "Multiple forms with gform_after_submission"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/multiple-forms-with-gform_after_submission#post-74530</link>
			<pubDate>Sun, 09 Sep 2012 17:18:07 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">74530@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;It would be simplest if the field ID was the same between all forms, then you don't need to do anything specific to make this work.&#60;/p&#62;
&#60;p&#62;Take a look at this example which was written by David Smith.  It uses a class format, and then you call the class with additional parameters and in your class you call the gform_after_submission. &#60;a href=&#34;http://gravitywiz.com/2012/06/11/limiting-how-many-checkboxes-can-be-checked/&#34; rel=&#34;nofollow&#34;&#62;http://gravitywiz.com/2012/06/11/limiting-how-many-checkboxes-can-be-checked/&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Even if you don't go with a class, you need a way to send your function the additional information (the field IDs) it needs.  David did it pretty cleanly in that example at gravitywiz.  Let us know if you need any more ideas.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>passatgt on "Multiple forms with gform_after_submission"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/multiple-forms-with-gform_after_submission#post-74471</link>
			<pubDate>Sat, 08 Sep 2012 13:09:27 +0000</pubDate>
			<dc:creator>passatgt</dc:creator>
			<guid isPermaLink="false">74471@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi!&#60;/p&#62;
&#60;p&#62;I have a wordpress site with multiple events and every event has a different form. I need to send the email address to another database with an API. I used the gform_after_submission function, its working fine, but heres the problem:&#60;/p&#62;
&#60;p&#62;I need to send 3 values with the API, email address, first name and last name. I can request these with the entry object, like $entry[&#34;1&#34;]; for the email address and $entry[&#34;2&#34;]; for the first name, however, because i have multiple forms, these IDs might be different and i don't want to create the same function for every form.&#60;/p&#62;
&#60;p&#62;Any idea how can i make this easier?
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
