<?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 User Favorites: benhuson</title>
		<link><a href='https://legacy.forums.gravityhelp.com/profile/benhuson'>benhuson</a></link>
		<description>Gravity Support Forums User Favorites: benhuson</description>
		<language>en-US</language>
		<pubDate>Sun, 05 Apr 2026 02:54: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/profile/" rel="self" type="application/rss+xml" />

		<item>
			<title>microweb on "Check if Form Exists"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/check-if-form-exists#post-220026</link>
			<pubDate>Mon, 22 Apr 2013 22:16:59 +0000</pubDate>
			<dc:creator>microweb</dc:creator>
			<guid isPermaLink="false">220026@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I figured this out...&#60;br /&#62;
I put this in my functions.php and just called it on the page I was displaying the form:&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;function mwn_gravity_form_exists($form_name){

  $forms = GFFormsModel::get_forms();
	foreach($forms as &#38;amp;$form){
		if ($form-&#38;gt;title == $form_name) {
			return true;
		}
	}
  return false;
}&#60;/code&#62;&#60;/pre&#62;</description>
		</item>
		<item>
			<title>microweb on "Check if Form Exists"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/check-if-form-exists#post-214449</link>
			<pubDate>Thu, 18 Apr 2013 11:11:44 +0000</pubDate>
			<dc:creator>microweb</dc:creator>
			<guid isPermaLink="false">214449@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Is there a function to see if a form with a specific name exists?&#60;/p&#62;
&#60;p&#62;I'm using &#38;lt;?php gravity_form(the_title('','',false), false, false, false, '', false); ?&#38;gt; to display a form that has the same name as a product from my store.  I want to do a check to see if the form exists before displaying the form.  Not all products will have their own form, but most will.
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
