<?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: Passing HTML via hidden value field</title>
		<link>https://legacy.forums.gravityhelp.com/topic/passing-html-via-hidden-value-field</link>
		<description>Gravity Support Forums Topic: Passing HTML via hidden value field</description>
		<language>en-US</language>
		<pubDate>Sat, 04 Apr 2026 18:31:15 +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/passing-html-via-hidden-value-field" rel="self" type="application/rss+xml" />

		<item>
			<title>Carl Hancock on "Passing HTML via hidden value field"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/passing-html-via-hidden-value-field#post-58908</link>
			<pubDate>Mon, 14 May 2012 15:32:19 +0000</pubDate>
			<dc:creator>Carl Hancock</dc:creator>
			<guid isPermaLink="false">58908@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Going to go ahead and handle this via the Priority Support ticket that was opened for this.  Going to close this thread and we'll take care of it via that ticket.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>yellowhousedesign on "Passing HTML via hidden value field"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/passing-html-via-hidden-value-field#post-58907</link>
			<pubDate>Mon, 14 May 2012 15:27:50 +0000</pubDate>
			<dc:creator>yellowhousedesign</dc:creator>
			<guid isPermaLink="false">58907@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi David,&#60;br /&#62;
So - that function definitely seems useful, just doesn't seem to be doing what it's advertised to do, unless I'm missing some type of priority setting. Here's what I have:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;add_filter(&#38;quot;gform_allowable_tags_1&#38;quot;, &#38;quot;allow_basic_tags&#38;quot;);
function allow_basic_tags($allowable_tags){
	return &#38;#39;&#38;lt;p&#38;gt;&#38;lt;a&#38;gt;&#38;lt;strong&#38;gt;&#38;lt;em&#38;gt;&#38;lt;ul&#38;gt;&#38;lt;li&#38;gt;&#38;#39;;
}
add_filter(&#38;#39;gform_field_value_inquiry_list&#38;#39;, &#38;#39;populate_inquiry_list&#38;#39;);
function populate_inquiry_list($value) {
	if(function_exists(&#38;#39;upb_list_bookmarks&#38;#39;) &#38;amp;&#38;amp; is_user_logged_in()) {
		return htmlspecialchars(upb_list_bookmarks($delete_link=false),ENT_QUOTES);
	}
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;So - I'm allowing the ul,li and a tags in the form (with a form ID of 1) and am then adding in that function -- but same result. Is a priority needed, or can you see anything else in the way? Thanks.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>yellowhousedesign on "Passing HTML via hidden value field"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/passing-html-via-hidden-value-field#post-58903</link>
			<pubDate>Mon, 14 May 2012 15:02:04 +0000</pubDate>
			<dc:creator>yellowhousedesign</dc:creator>
			<guid isPermaLink="false">58903@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Thanks, really appreciate it!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>David Peralty on "Passing HTML via hidden value field"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/passing-html-via-hidden-value-field#post-58900</link>
			<pubDate>Mon, 14 May 2012 14:56:43 +0000</pubDate>
			<dc:creator>David Peralty</dc:creator>
			<guid isPermaLink="false">58900@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I was asking around to see if any of the developers have any ideas. It looks like HTML is stripped for security reasons, but you can use a hook to help re-enable the use of tags. &#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://www.gravityhelp.com/documentation/page/Gform_allowable_tags&#34; rel=&#34;nofollow&#34;&#62;http://www.gravityhelp.com/documentation/page/Gform_allowable_tags&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;If you return true, it will allow all tags.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>yellowhousedesign on "Passing HTML via hidden value field"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/passing-html-via-hidden-value-field#post-58891</link>
			<pubDate>Mon, 14 May 2012 14:19:12 +0000</pubDate>
			<dc:creator>yellowhousedesign</dc:creator>
			<guid isPermaLink="false">58891@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Just a little more clarification. Here is the physical HTML output I get when using htmlspecialchars: &#60;a href=&#34;http://pastebin.com/ySuR1xAS&#34; rel=&#34;nofollow&#34;&#62;http://pastebin.com/ySuR1xAS&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;So I'm thinking the actual HTML should be fine to store/send. When I try to send this data though, I get the following:&#60;/p&#62;
&#60;p&#62;----------&#60;br /&#62;
403 Forbidden&#60;br /&#62;
You don't have permission to access /wordpress/product-inquiry/ on this server.&#60;br /&#62;
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.&#60;br /&#62;
----------&#60;/p&#62;
&#60;p&#62;Any help would be greatly appreciated. Thanks!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>yellowhousedesign on "Passing HTML via hidden value field"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/passing-html-via-hidden-value-field#post-58821</link>
			<pubDate>Mon, 14 May 2012 08:45:10 +0000</pubDate>
			<dc:creator>yellowhousedesign</dc:creator>
			<guid isPermaLink="false">58821@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi David,&#60;br /&#62;
Any other info you need? Thanks.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>yellowhousedesign on "Passing HTML via hidden value field"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/passing-html-via-hidden-value-field#post-58693</link>
			<pubDate>Fri, 11 May 2012 12:28:05 +0000</pubDate>
			<dc:creator>yellowhousedesign</dc:creator>
			<guid isPermaLink="false">58693@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Sorry - here it is with that PHP function:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;add_filter(&#38;#39;gform_field_value_inquiry_list&#38;#39;, &#38;#39;populate_inquiry_list&#38;#39;);
function populate_inquiry_list($value) {
	if(function_exists(&#38;#39;upb_list_bookmarks&#38;#39;)) {
		return htmlspecialchars(upb_list_bookmarks(),ENT_QUOTES);
	}
}&#60;/code&#62;&#60;/pre&#62;</description>
		</item>
		<item>
			<title>yellowhousedesign on "Passing HTML via hidden value field"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/passing-html-via-hidden-value-field#post-58692</link>
			<pubDate>Fri, 11 May 2012 12:24:29 +0000</pubDate>
			<dc:creator>yellowhousedesign</dc:creator>
			<guid isPermaLink="false">58692@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi David,&#60;br /&#62;
The Gravity Forms filter I'm using is referenced in my original question (I'm actually using this inside of a plugin). More specifically, I'm using &#60;a href=&#34;http://codecanyon.net/item/user-bookmarks-for-wordpress/544129&#34; rel=&#34;nofollow&#34;&#62;http://codecanyon.net/item/user-bookmarks-for-wordpress/544129&#60;/a&#62; to store the list of bookmarks. Let me know if that clarifies things or if I'm just making things more difficult :) Thanks.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>David Peralty on "Passing HTML via hidden value field"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/passing-html-via-hidden-value-field#post-58689</link>
			<pubDate>Fri, 11 May 2012 12:08:54 +0000</pubDate>
			<dc:creator>David Peralty</dc:creator>
			<guid isPermaLink="false">58689@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Can you show me your functions.php code? The issue is that we are trying to put HTML inside HTML and of course it is breaking, but we should be able to change it so that it works, but I'm not exactly sure how yet as it is being outputted by another function/plugin.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>yellowhousedesign on "Passing HTML via hidden value field"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/passing-html-via-hidden-value-field#post-58683</link>
			<pubDate>Fri, 11 May 2012 11:57:19 +0000</pubDate>
			<dc:creator>yellowhousedesign</dc:creator>
			<guid isPermaLink="false">58683@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi David,&#60;br /&#62;
Thanks for the link - unfortunately, nothing changed with that. This is what the output looks like (of that function):&#60;/p&#62;
&#60;p&#62;&#60;code&#62;&#38;lt;ul class=&#38;quot;upb-bookmarks-list&#38;quot;&#38;gt;&#38;lt;li class=&#38;quot;upb_bookmark bookmark-273&#38;quot;&#38;gt;&#38;lt;a href=&#38;quot;http://yhmags.com/wordpress/moulding-profiles/profile-1/&#38;quot; class=&#38;quot;upb_bookmark_link&#38;quot; title=&#38;quot;Profile 1&#38;quot;&#38;gt;Profile 1&#38;lt;/a&#38;gt; - &#38;lt;a href=&#38;quot;#&#38;quot; class=&#38;quot;upb_del_bookmark upb_del_bookmark_273&#38;quot; rel=&#38;quot;273&#38;quot; title=&#38;quot;Remove this Bookmark&#38;quot;&#38;gt;Delete&#38;lt;/a&#38;gt;&#38;lt;/li&#38;gt;&#38;lt;/ul&#38;gt;&#60;/code&#62;
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
