<?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: Query gravity forms list</title>
		<link>https://legacy.forums.gravityhelp.com/topic/query-gravity-forms-list</link>
		<description>Gravity Support Forums Topic: Query gravity forms list</description>
		<language>en-US</language>
		<pubDate>Sat, 04 Apr 2026 12:16:06 +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/query-gravity-forms-list" rel="self" type="application/rss+xml" />

		<item>
			<title>Chris Hajer on "Query gravity forms list"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/query-gravity-forms-list#post-43816</link>
			<pubDate>Mon, 12 Dec 2011 17:27:18 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">43816@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;It's safe but unnecessary, and would not necessarily be future proof.  There's no need to go direct to the database like that, but if it gets the job done for you, it's not hurting anything.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>webpuzzlemaster on "Query gravity forms list"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/query-gravity-forms-list#post-43780</link>
			<pubDate>Mon, 12 Dec 2011 12:30:58 +0000</pubDate>
			<dc:creator>webpuzzlemaster</dc:creator>
			<guid isPermaLink="false">43780@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;is it safe to do something like this in a custom plugin&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;$forms = $wpdb-&#38;gt;get_results( &#38;quot;SELECT id, title FROM wp_rg_form where is_active=1&#38;quot; );&#60;/code&#62;&#60;/pre&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "Query gravity forms list"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/query-gravity-forms-list#post-43686</link>
			<pubDate>Sun, 11 Dec 2011 01:11:08 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">43686@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;You can use this to get a list of forms. This code is present in form_list.php:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;[php]
        $forms = RGFormsModel::get_forms(&#38;quot;active&#38;quot;, &#38;quot;title&#38;quot;);&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;The &#60;strong&#62;get_forms&#60;/strong&#62; function is defined in forms_model.php if you'd like to take a look at it.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>webpuzzlemaster on "Query gravity forms list"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/query-gravity-forms-list#post-43675</link>
			<pubDate>Sat, 10 Dec 2011 22:40:24 +0000</pubDate>
			<dc:creator>webpuzzlemaster</dc:creator>
			<guid isPermaLink="false">43675@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;The idea is assign the form id dynamically to a page/form using metabox.&#60;/p&#62;
&#60;p&#62;How can i retrieve the list of the forms?&#60;/p&#62;
&#60;p&#62;Is there a hook for that?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "Query gravity forms list"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/query-gravity-forms-list#post-43657</link>
			<pubDate>Sat, 10 Dec 2011 15:45:35 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">43657@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;No, you can't use query_posts like that because each form is not a post.&#60;/p&#62;
&#60;p&#62;What some people have done is matched the name of the form to the name of the page, and included the form dynamically with a function call.  Or, you can store the form ID as a custom field an include it that way.&#60;/p&#62;
&#60;p&#62;Please explain more about how you need this to work and I'm sure we can come up with something for you.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>webpuzzlemaster on "Query gravity forms list"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/query-gravity-forms-list#post-43636</link>
			<pubDate>Sat, 10 Dec 2011 13:05:55 +0000</pubDate>
			<dc:creator>webpuzzlemaster</dc:creator>
			<guid isPermaLink="false">43636@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Is it possible to do a query_posts and return all the titles/id for the gravity forms?&#60;/p&#62;
&#60;p&#62;what we are trying to do is assign specific forms on specific pages dynamically..
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
