<?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: Use form entry number as post name</title>
		<link>https://legacy.forums.gravityhelp.com/topic/use-form-entry-number-as-post-name</link>
		<description>Gravity Support Forums Topic: Use form entry number as post name</description>
		<language>en-US</language>
		<pubDate>Mon, 20 Apr 2026 09:44:39 +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/use-form-entry-number-as-post-name" rel="self" type="application/rss+xml" />

		<item>
			<title>Dana Cobb on "Use form entry number as post name"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/use-form-entry-number-as-post-name#post-43803</link>
			<pubDate>Mon, 12 Dec 2011 16:07:25 +0000</pubDate>
			<dc:creator>Dana Cobb</dc:creator>
			<guid isPermaLink="false">43803@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Sascha,&#60;/p&#62;
&#60;p&#62;I can't think of any easy way to do that. The entry id is not available until the form entry has been created in the database, so it would require a form field to be updated directly using database queries after the entry is saved. The entry id is available to the post since the form entry exists at the point we are modifying the post title. I think the easiest way to identify the post is to display the Entry Id field in the admin in the entry listing for the form. You can use that ID to match it back to the post since that id will be in the post title.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>sascha on "Use form entry number as post name"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/use-form-entry-number-as-post-name#post-43033</link>
			<pubDate>Sat, 03 Dec 2011 11:19:11 +0000</pubDate>
			<dc:creator>sascha</dc:creator>
			<guid isPermaLink="false">43033@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Thank you Dana,&#60;br /&#62;
that works great! One thing: is there a way to also save that new post title in the entries database of GF? Just so I can identify it..
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Dana Cobb on "Use form entry number as post name"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/use-form-entry-number-as-post-name#post-42743</link>
			<pubDate>Thu, 01 Dec 2011 12:41:35 +0000</pubDate>
			<dc:creator>Dana Cobb</dc:creator>
			<guid isPermaLink="false">42743@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Sascha,&#60;/p&#62;
&#60;p&#62;You can grab out the form entry id and append it to your post title using code like the example below: &#60;/p&#62;
&#60;pre&#62;&#60;code&#62;[php]
add_filter(&#38;quot;gform_post_data&#38;quot;, &#38;quot;change_post_title&#38;quot;, 10, 3);
function change_post_title($post_data, $form, $lead){
    //only change post title on form id 3
    if($form[&#38;quot;id&#38;quot;] != 3)
    return $post_data;
    //get entry id from lead array and build new post title
    $post_data[&#38;quot;post_title&#38;quot;] = &#38;quot;test_&#38;quot; . $lead[&#38;quot;id&#38;quot;];
    return $post_data;
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Happy coding!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Dana Cobb on "Use form entry number as post name"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/use-form-entry-number-as-post-name#post-42738</link>
			<pubDate>Thu, 01 Dec 2011 11:46:34 +0000</pubDate>
			<dc:creator>Dana Cobb</dc:creator>
			<guid isPermaLink="false">42738@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi, Sascha,&#60;/p&#62;
&#60;p&#62;I will be reviewing this today and get back with you soon.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>sascha on "Use form entry number as post name"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/use-form-entry-number-as-post-name#post-42718</link>
			<pubDate>Thu, 01 Dec 2011 06:15:11 +0000</pubDate>
			<dc:creator>sascha</dc:creator>
			<guid isPermaLink="false">42718@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi there, when submitting a post via a form I would like to use the &#34;running&#34; form entry number as part of the post title. I.e. if its the fifth entry in that particular form the post title would be:&#60;br /&#62;
&#34;job_ID_5&#34;&#60;/p&#62;
&#60;p&#62;In another form it would be &#34;office_ID_302&#34; if it is the 302nd entry in that form.&#60;/p&#62;
&#60;p&#62;Hope that is clear...&#60;br /&#62;
Is there a way to achieve this?
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
