<?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: custom post field issue</title>
		<link>https://legacy.forums.gravityhelp.com/topic/custom-post-field-issue</link>
		<description>Gravity Support Forums Topic: custom post field issue</description>
		<language>en-US</language>
		<pubDate>Tue, 21 Apr 2026 06:52:49 +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/custom-post-field-issue" rel="self" type="application/rss+xml" />

		<item>
			<title>hamedhemmati on "custom post field issue"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/custom-post-field-issue#post-24945</link>
			<pubDate>Fri, 06 May 2011 14:16:38 +0000</pubDate>
			<dc:creator>hamedhemmati</dc:creator>
			<guid isPermaLink="false">24945@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;In the advanced section of the custom field I have the default value set to insert variable and the box is blank. I did find something interesting while playing around. I use the following code for checking to see if the value is blank or not.&#60;/p&#62;
&#60;p&#62;$sourceurl = get_post_custom_values(&#34;url&#34;); if ($sourceurl !='' )&#60;br /&#62;
If I echo $sourceurl I get the blog URL but the interesting thing is if I change the code to&#60;/p&#62;
&#60;p&#62;$sourceurl = get_post_custom_values(&#34;url&#34;); if ($sourceurl[0] !='' )&#60;/p&#62;
&#60;p&#62;Then the if statement works fine. The only problem is if they don't put http:// for the reference URL then the address that gets echoed is my blog URL + the reference URL.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Carl Hancock on "custom post field issue"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/custom-post-field-issue#post-24941</link>
			<pubDate>Fri, 06 May 2011 13:58:02 +0000</pubDate>
			<dc:creator>Carl Hancock</dc:creator>
			<guid isPermaLink="false">24941@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Gravity Forms doesn't automatically pre-populate fields, so that isn't expected behavior.  Do you have any custom code implemented or have you setup a default value for that field?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>hamedhemmati on "custom post field issue"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/custom-post-field-issue#post-24937</link>
			<pubDate>Fri, 06 May 2011 13:34:37 +0000</pubDate>
			<dc:creator>hamedhemmati</dc:creator>
			<guid isPermaLink="false">24937@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I use a custom post field as an optional field to show data. The logic checks to see if the user has entered any text in there if so then it displays it. I use the field for post references so users enter the URL of the reference site. The problem I am having is when users leave this field blank through gravity forms it automatically assigns the URL of the blog page as the value.&#60;/p&#62;
&#60;p&#62;Is this an expected behavior?
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
