<?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: Create form programmatically</title>
		<link>https://legacy.forums.gravityhelp.com/topic/create-form-programmatically</link>
		<description>Gravity Support Forums Topic: Create form programmatically</description>
		<language>en-US</language>
		<pubDate>Sat, 04 Apr 2026 12:03:07 +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/create-form-programmatically" rel="self" type="application/rss+xml" />

		<item>
			<title>webikon on "Create form programmatically"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/create-form-programmatically#post-25000</link>
			<pubDate>Sat, 07 May 2011 21:13:34 +0000</pubDate>
			<dc:creator>webikon</dc:creator>
			<guid isPermaLink="false">25000@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Thanks, this would be useful. I realized that I could do custom XML import. I would really appreciate if there is a markup (or some more API documentation) for this because sometimes it's quiet dirty work to build up complex form in admin.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Alex Cancado on "Create form programmatically"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/create-form-programmatically#post-24998</link>
			<pubDate>Sat, 07 May 2011 20:36:07 +0000</pubDate>
			<dc:creator>Alex Cancado</dc:creator>
			<guid isPermaLink="false">24998@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Yes, you can. It is a two step process. First you need to create the form record, then create the meta (which contains the meat of the form). See below:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;//creating new form
$title = &#38;quot;My new form title&#38;quot;;
$new_id = self::insert_form($title);&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Now you need to create your form meta array. To learn how this array should be created, you can use one of the &#60;a href='http://www.gravityhelp.com/documentation/page/Developer_Docs' rel=&#34;nofollow&#34;&#62;Hooks&#60;/a&#62; and print the $form object (i.e. print_r($form) ), or you can refer to our &#60;a href='http://www.gravityhelp.com/documentation/page/Form_Object' rel=&#34;nofollow&#34;&#62;Form Object &#60;/a&#62; documentation page&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;$meta = array(......);
//create form meta
self::update_form_meta($new_id, $meta);&#60;/code&#62;&#60;/pre&#62;</description>
		</item>
		<item>
			<title>webikon on "Create form programmatically"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/create-form-programmatically#post-24893</link>
			<pubDate>Thu, 05 May 2011 18:15:53 +0000</pubDate>
			<dc:creator>webikon</dc:creator>
			<guid isPermaLink="false">24893@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hello, is it possible to create a form programmatically through some object or an array input?
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
