<?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: Can you specify more than one form id for the gform_pre_render action/hook?</title>
		<link>https://legacy.forums.gravityhelp.com/topic/can-you-specify-more-than-one-form-id-for-the-gform_pre_render-actionhook</link>
		<description>Gravity Support Forums Topic: Can you specify more than one form id for the gform_pre_render action/hook?</description>
		<language>en-US</language>
		<pubDate>Sat, 11 Apr 2026 17:29:56 +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/can-you-specify-more-than-one-form-id-for-the-gform_pre_render-actionhook" rel="self" type="application/rss+xml" />

		<item>
			<title>Carl Hancock on "Can you specify more than one form id for the gform_pre_render action/hook?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/can-you-specify-more-than-one-form-id-for-the-gform_pre_render-actionhook#post-41909</link>
			<pubDate>Tue, 22 Nov 2011 16:42:08 +0000</pubDate>
			<dc:creator>Carl Hancock</dc:creator>
			<guid isPermaLink="false">41909@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Sure, but not the way you described. You wouldn't use gform_pre_render_FORMID you would simply use gform_pre_render.&#60;/p&#62;
&#60;p&#62;Then in your custom code you would use a switch or if statement to see what the form id is, and then execute whatever code you want to execute for that form id.&#60;/p&#62;
&#60;p&#62;gform_pre_render_FORMID automatically applies to whatever form id you set.  But gform_pre_render executes for ALL forms.  So if you then use custom code to do it for only selected forms within your code, that will have the same result.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>jbeim01 on "Can you specify more than one form id for the gform_pre_render action/hook?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/can-you-specify-more-than-one-form-id-for-the-gform_pre_render-actionhook#post-41887</link>
			<pubDate>Tue, 22 Nov 2011 14:58:12 +0000</pubDate>
			<dc:creator>jbeim01</dc:creator>
			<guid isPermaLink="false">41887@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I understand you can specify the form id in the filter such as:&#60;br /&#62;
add_action('gform_pre_render_57', 'add_surcharge_js');&#60;br /&#62;
where 57 represents the form id.&#60;/p&#62;
&#60;p&#62;But is there a way to specify that I want this action/hook to apply to multiple forms?  If so, how do I do it?  Do I just append additional form id's to the action name?
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
