<?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: How to find out what form ids exist?</title>
		<link>https://legacy.forums.gravityhelp.com/topic/how-to-find-out-what-form-ids-exist</link>
		<description>Gravity Support Forums Topic: How to find out what form ids exist?</description>
		<language>en-US</language>
		<pubDate>Thu, 23 Apr 2026 11:01:12 +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/how-to-find-out-what-form-ids-exist" rel="self" type="application/rss+xml" />

		<item>
			<title>Chris Hajer on "How to find out what form ids exist?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/how-to-find-out-what-form-ids-exist#post-70099</link>
			<pubDate>Wed, 08 Aug 2012 08:36:59 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">70099@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi Scott.   This function:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;[php]
//  the 1 means &#38;quot;active&#38;quot;
$forms = RGFormsModel::get_forms(1, &#38;#39;id ASC&#38;#39;);&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Will return an array of all active forms.  The $forms array looks like this is you dump it:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;Array
(
    [0] =&#38;gt; stdClass Object
        (
            [id] =&#38;gt; 2
            [title] =&#38;gt; Video Submission
            [date_created] =&#38;gt; 2011-07-19 02:45:34
            [is_active] =&#38;gt; 1
            [lead_count] =&#38;gt; 0
            [view_count] =&#38;gt; 182
        )

    [1] =&#38;gt; stdClass Object
        (
            [id] =&#38;gt; 3
            [title] =&#38;gt; Country of Origin
            [date_created] =&#38;gt; 2011-07-23 03:20:33
            [is_active] =&#38;gt; 1
            [lead_count] =&#38;gt; 17
            [view_count] =&#38;gt; 227
        )

    [2] =&#38;gt; stdClass Object
        (
            [id] =&#38;gt; 4
            [title] =&#38;gt; Register
            [date_created] =&#38;gt; 2011-07-24 20:34:27
            [is_active] =&#38;gt; 1
            [lead_count] =&#38;gt; 3
            [view_count] =&#38;gt; 273
        )
// etc, etc.&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;You can loop through that $forms array and grab all the IDs.  Will that work for you?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Scott Hack on "How to find out what form ids exist?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/how-to-find-out-what-form-ids-exist#post-70025</link>
			<pubDate>Tue, 07 Aug 2012 21:12:38 +0000</pubDate>
			<dc:creator>Scott Hack</dc:creator>
			<guid isPermaLink="false">70025@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Yeah, that is my thoughts, then I can loop through them and find out which form id matches the form title that I want.  Which would be unique... since the form id can/will change from install to install.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "How to find out what form ids exist?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/how-to-find-out-what-form-ids-exist#post-70015</link>
			<pubDate>Tue, 07 Aug 2012 20:34:51 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">70015@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi Scott.  You just want an array of all active form IDs, from the database?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Scott Hack on "How to find out what form ids exist?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/how-to-find-out-what-form-ids-exist#post-70010</link>
			<pubDate>Tue, 07 Aug 2012 20:09:57 +0000</pubDate>
			<dc:creator>Scott Hack</dc:creator>
			<guid isPermaLink="false">70010@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I have been working on a plugin that imports forms via the xml function that Gravity Forms has internally.  I am then creating pages and inserting the short code as well as part of the plugin setup.  I know I can match my form title to see what the correct formID is for each one, but I don't know what form ids actually exist.  I found this below to grab the form info so I can check against the form title, but how do I know what form ids exist?  Is there something that grabs an array of all form ids?&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://www.gravityhelp.com/documentation/page/Form_Object&#34; rel=&#34;nofollow&#34;&#62;http://www.gravityhelp.com/documentation/page/Form_Object&#60;/a&#62;
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
