<?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: Urldecode before displaying text field value</title>
		<link>https://legacy.forums.gravityhelp.com/topic/urldecode-before-displaying-text-field-value</link>
		<description>Gravity Support Forums Topic: Urldecode before displaying text field value</description>
		<language>en-US</language>
		<pubDate>Sat, 04 Apr 2026 11:08:54 +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/urldecode-before-displaying-text-field-value" rel="self" type="application/rss+xml" />

		<item>
			<title>kevinfilteau on "Urldecode before displaying text field value"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/urldecode-before-displaying-text-field-value#post-34642</link>
			<pubDate>Tue, 06 Sep 2011 19:24:35 +0000</pubDate>
			<dc:creator>kevinfilteau</dc:creator>
			<guid isPermaLink="false">34642@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I temporally hacked the code in form_models.php. I added a url decoding function to the value get to prepopulate the field. Waiting for a better way, or an integrated way that will not be lost on an update. Thanks&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;private static function get_input_value($field, $standard_name, $custom_name = &#38;quot;&#38;quot;, $field_values=array(), $get_from_post=true){
        if(!empty($_POST[&#38;quot;is_submit_&#38;quot; . rgar($field,&#38;quot;formId&#38;quot;)]) &#38;amp;&#38;amp; $get_from_post){
            $value = RGForms::post($standard_name);
            if(!is_array($value))
                $value = stripslashes($value);

            return $value;
        }
        else if(rgar($field, &#38;quot;allowsPrepopulate&#38;quot;)){
&#38;gt;&#38;gt;&#38;gt;&#38;gt;&#38;gt;            return urldecode(self::get_parameter_value($custom_name, $field_values));
        }
    }&#60;/code&#62;&#60;/pre&#62;</description>
		</item>
		<item>
			<title>kevinfilteau on "Urldecode before displaying text field value"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/urldecode-before-displaying-text-field-value#post-34635</link>
			<pubDate>Tue, 06 Sep 2011 17:46:13 +0000</pubDate>
			<dc:creator>kevinfilteau</dc:creator>
			<guid isPermaLink="false">34635@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I have a form like that post (get method) to my gravity form to prepropulate it.&#60;/p&#62;
&#60;p&#62;I have a field like this one.&#60;br /&#62;
&#38;lt;input type=&#34;hidden&#34; value=&#34;---urlencoded text with new line, frech chars, etc.---&#34; /&#38;gt;&#60;/p&#62;
&#60;p&#62;That prepopulate a paragraph text field. But when it does, the displayed text is still rendered as urlencoded. How can I make the text displayed urldecoded?&#60;/p&#62;
&#60;p&#62;Thanks
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
