<?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: Multiple posts generated by one form</title>
		<link>https://legacy.forums.gravityhelp.com/topic/multiple-posts-generated-by-one-form</link>
		<description>Gravity Support Forums Topic: Multiple posts generated by one form</description>
		<language>en-US</language>
		<pubDate>Thu, 16 Apr 2026 12:37:09 +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/multiple-posts-generated-by-one-form" rel="self" type="application/rss+xml" />

		<item>
			<title>Daniel Foltynek on "Multiple posts generated by one form"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/multiple-posts-generated-by-one-form#post-335982</link>
			<pubDate>Fri, 21 Jun 2013 04:28:39 +0000</pubDate>
			<dc:creator>Daniel Foltynek</dc:creator>
			<guid isPermaLink="false">335982@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Somebody managed to get it work? I think that it is very interesting feature to create for example a simple post of 30 fields Curricullum Vitae of some Job Applicant and use 5 fields to automaticaly create a new user for custom post type &#34;mailing_list. &#34;&#60;br /&#62;
Another example is to create club custom post type &#34;EVENT&#34; with club location fields and then in the background create a new custom post type &#34;CLUB&#34; info.&#60;br /&#62;
Is it hard to create in the background e new custom post type CLUB entry with some 3-5 fields one per line?&#60;br /&#62;
Can you provide an example as you have provided here: ?&#60;br /&#62;
&#60;a href=&#34;http://www.gravityhelp.com/documentation/page/Gform_after_submission&#34; rel=&#34;nofollow&#34;&#62;http://www.gravityhelp.com/documentation/page/Gform_after_submission&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Very amateur example below:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;&#38;lt;?php
add_action(&#38;quot;gform_after_submission&#38;quot;, &#38;quot;set_post_content&#38;quot;, 10, 2);
function set_post_content($entry, $form){

    //getting post
    $post = get_post($entry[&#38;quot;post_id&#38;quot;]);

    //changing post content
    $post-&#38;gt;post_content = &#38;quot;Club Info: &#38;quot;&#38;lt;br/&#38;gt; &#38;quot; . $entry[1] . &#38;quot; &#38;lt;br/&#38;gt;
 &#38;quot;&#38;lt;br/&#38;gt; &#38;quot; . $entry[2] . &#38;quot; &#38;lt;br/&#38;gt;
 &#38;quot;&#38;lt;br/&#38;gt; &#38;quot; . $entry[3] . &#38;quot; &#38;lt;br/&#38;gt;
 &#38;quot;&#38;lt;br/&#38;gt; &#38;quot; . $entry[4] . &#38;quot; &#38;lt;br/&#38;gt;
 &#38;quot;&#38;lt;br/&#38;gt; &#38;quot; . $entry[5] . &#38;quot; &#38;lt;br/&#38;gt;

    //updating post
    wp_update_post($post);
}
?&#38;gt;&#60;/code&#62;&#60;/pre&#62;</description>
		</item>
		<item>
			<title>David Peralty on "Multiple posts generated by one form"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/multiple-posts-generated-by-one-form#post-146801</link>
			<pubDate>Thu, 14 Feb 2013 00:17:44 +0000</pubDate>
			<dc:creator>David Peralty</dc:creator>
			<guid isPermaLink="false">146801@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I don't know of any other way currently to make multiple posts from one submission without a great deal of custom code. All my best...
&#60;/p&#62;</description>
		</item>
		<item>
			<title>BorisHoekmeijer on "Multiple posts generated by one form"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/multiple-posts-generated-by-one-form#post-146666</link>
			<pubDate>Wed, 13 Feb 2013 15:34:39 +0000</pubDate>
			<dc:creator>BorisHoekmeijer</dc:creator>
			<guid isPermaLink="false">146666@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;That's a shame. Time and my customer's budget will not allow me to delve into creating it all myself.. What happened to the Advanced Post Creation add-on that was being built a few years back?&#60;/p&#62;
&#60;p&#62;Is there another way? Is it possible somehow to create conditional fields based on values of a different form?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>David Peralty on "Multiple posts generated by one form"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/multiple-posts-generated-by-one-form#post-146626</link>
			<pubDate>Wed, 13 Feb 2013 13:41:45 +0000</pubDate>
			<dc:creator>David Peralty</dc:creator>
			<guid isPermaLink="false">146626@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;You could create your own PHP code to write multiple WordPress posts from one form submission, but this isn't supported by Gravity Forms and would require a fair bit of custom code. You could use gform_after_submission (gform_post_submission is deprecated) to do this, but beyond that, there isn't much I can do to help you with this other than to say that you'll want to look at how to write a WordPress post using PHP.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>BorisHoekmeijer on "Multiple posts generated by one form"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/multiple-posts-generated-by-one-form#post-146583</link>
			<pubDate>Wed, 13 Feb 2013 11:35:32 +0000</pubDate>
			<dc:creator>BorisHoekmeijer</dc:creator>
			<guid isPermaLink="false">146583@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I need to create a form capable of creating multiple posts (each in their own category). I found something about gform_post_submission, but it's not clear to me whether this means what I want is possible. Can you help me further along?
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
