<?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: Populating a hidden field</title>
		<link>https://legacy.forums.gravityhelp.com/topic/populating-a-hidden-field</link>
		<description>Gravity Support Forums Topic: Populating a hidden field</description>
		<language>en-US</language>
		<pubDate>Mon, 20 Apr 2026 10:08:00 +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/populating-a-hidden-field" rel="self" type="application/rss+xml" />

		<item>
			<title>Steph on "Populating a hidden field"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/populating-a-hidden-field#post-2773</link>
			<pubDate>Sat, 16 Jan 2010 16:10:59 +0000</pubDate>
			<dc:creator>Steph</dc:creator>
			<guid isPermaLink="false">2773@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I have no idea why, but it's now working and showing me a list of custom fields!&#60;/p&#62;
&#60;p&#62;Thanks for the offer of help.&#60;/p&#62;
&#60;p&#62;Steph
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Carl Hancock on "Populating a hidden field"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/populating-a-hidden-field#post-2647</link>
			<pubDate>Tue, 12 Jan 2010 14:17:59 +0000</pubDate>
			<dc:creator>Carl Hancock</dc:creator>
			<guid isPermaLink="false">2647@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;It's hard to tell if something is going on.  I would need a login to this site in order to take a look.  If you want me to take a look then use the Contact Us form and send me a WordPress login to this site and i'd be glad to look into it.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Steph on "Populating a hidden field"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/populating-a-hidden-field#post-2641</link>
			<pubDate>Tue, 12 Jan 2010 12:28:18 +0000</pubDate>
			<dc:creator>Steph</dc:creator>
			<guid isPermaLink="false">2641@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi,&#60;/p&#62;
&#60;p&#62;Of the custom fields at least 7 of them are populated throughout all the entries yeah.  Do I need to do anything special for them to show up in the list?&#60;/p&#62;
&#60;p&#62;Thanks for the tip re using the HTTP referrer URL - that will work perfectly.  Thanks for that.&#60;/p&#62;
&#60;p&#62;Steph
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Carl Hancock on "Populating a hidden field"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/populating-a-hidden-field#post-2640</link>
			<pubDate>Tue, 12 Jan 2010 12:25:54 +0000</pubDate>
			<dc:creator>Carl Hancock</dc:creator>
			<guid isPermaLink="false">2640@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;BTW one of the variables you can use as the default value in a hidden field is the HTTP Referrer URL.  &#60;/p&#62;
&#60;p&#62;This would be the URL of the page the user came from... which would be the post they were having problems with if they clicked a link to the form.&#60;/p&#62;
&#60;p&#62;Now this wouldn't be the post id, but it would be the full URL to the page.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Carl Hancock on "Populating a hidden field"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/populating-a-hidden-field#post-2639</link>
			<pubDate>Tue, 12 Jan 2010 12:24:10 +0000</pubDate>
			<dc:creator>Carl Hancock</dc:creator>
			<guid isPermaLink="false">2639@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;You mention that you have 9 custom fields, do these custom fields already have data populated in them or are they just present in your theme? In order for the existing custom fields to show up in the drop down they need to already have posts created with them that have values for these custom fields.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Steph on "Populating a hidden field"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/populating-a-hidden-field#post-2638</link>
			<pubDate>Tue, 12 Jan 2010 12:12:42 +0000</pubDate>
			<dc:creator>Steph</dc:creator>
			<guid isPermaLink="false">2638@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Thanks for your replies.  I think I'll need to create custom php as I want to have the form on a different page to the posts.  (a &#34;report a problem&#34; link that takes them to a form which has a form for them to complete to tell me what's wrong).&#60;/p&#62;
&#60;p&#62;I edited the post (I think while you were replying to add in another problem) are you able to help with that issue too please?&#60;/p&#62;
&#60;p&#62;Thank you.&#60;br /&#62;
Steph
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Carl Hancock on "Populating a hidden field"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/populating-a-hidden-field#post-2637</link>
			<pubDate>Tue, 12 Jan 2010 12:02:32 +0000</pubDate>
			<dc:creator>Carl Hancock</dc:creator>
			<guid isPermaLink="false">2637@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Forgot to mention, the URL of the page/post the form is submitted on is already stored with the entry and available as a notification variable.  When viewing an entry in WordPress, on the right side of the screen you will see the Embed URL.  This is the URL of the page/post the form was submitted on.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Carl Hancock on "Populating a hidden field"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/populating-a-hidden-field#post-2636</link>
			<pubDate>Tue, 12 Jan 2010 11:50:20 +0000</pubDate>
			<dc:creator>Carl Hancock</dc:creator>
			<guid isPermaLink="false">2636@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;- Add a hidden field to your form&#60;br /&#62;
- Edit the hidden field&#60;br /&#62;
- Select the advanced tab&#60;/p&#62;
&#60;p&#62;On the advanced tab you will see the Default Value field.  Above that is the insert variable drop down.  From this variable drop down you can select the Embed Post/Page Id.  This will insert the variable for this into the default value field.&#60;/p&#62;
&#60;p&#62;Save your form.  Test it out.&#60;/p&#62;
&#60;p&#62;When the form is submitted this hidden field will be populated with the post id of the post/page it was submitted on.&#60;/p&#62;
&#60;p&#62;You will also notice other variables in this drop down.  There are a variety of variables you can use to dynamically populate hidden (and non-hidden) fields without having to write any code.&#60;/p&#62;
&#60;p&#62;Optionally you can also populate fields by writing custom PHP.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Steph on "Populating a hidden field"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/populating-a-hidden-field#post-2634</link>
			<pubDate>Tue, 12 Jan 2010 11:43:22 +0000</pubDate>
			<dc:creator>Steph</dc:creator>
			<guid isPermaLink="false">2634@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi,&#60;/p&#62;
&#60;p&#62;I saw that in the new version you can pass hidden fields, I was wondering how I would go about passing the post id in this field?&#60;/p&#62;
&#60;p&#62;Also, another problem that I'm having is I want to have a form made up of custom fields which will form posts in my blog.  I want users to be able to submit custom fields, and I see the option of &#34;custom field name&#34; where you can choose existing or new.  When I choose existing, I dont get any to choose from.  I have 9 custom fields so I would expect to see those there.  What am I doing wrong?  &#60;/p&#62;
&#60;p&#62;Thanks,&#60;br /&#62;
Steph
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
