<?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: iframe/HTML tags being stripped from field - how to disable this?</title>
		<link>https://legacy.forums.gravityhelp.com/topic/iframehtml-tags-being-stripped-from-field-how-to-disable-this</link>
		<description>Gravity Support Forums Topic: iframe/HTML tags being stripped from field - how to disable this?</description>
		<language>en-US</language>
		<pubDate>Mon, 20 Apr 2026 01:26:17 +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/iframehtml-tags-being-stripped-from-field-how-to-disable-this" rel="self" type="application/rss+xml" />

		<item>
			<title>wearethenest on "iframe/HTML tags being stripped from field - how to disable this?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/iframehtml-tags-being-stripped-from-field-how-to-disable-this#post-50750</link>
			<pubDate>Mon, 27 Feb 2012 20:10:11 +0000</pubDate>
			<dc:creator>wearethenest</dc:creator>
			<guid isPermaLink="false">50750@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Thank you Dana! The gform_allowable_tags hook is precisely what I need in this instance.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Dana Cobb on "iframe/HTML tags being stripped from field - how to disable this?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/iframehtml-tags-being-stripped-from-field-how-to-disable-this#post-50709</link>
			<pubDate>Mon, 27 Feb 2012 15:30:08 +0000</pubDate>
			<dc:creator>Dana Cobb</dc:creator>
			<guid isPermaLink="false">50709@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi, wearethenest,&#60;/p&#62;
&#60;p&#62;That field type does not allow html in it and any tags are stripped out. There are two things you can do:&#60;br /&#62;
1. Instead of pulling the value from $entry, you can use $_POST. If your field is 3, then use&#60;br /&#62;
&#60;code&#62;$str_with_iframe = $_POST[&#38;quot;input_3&#38;quot;];&#60;/code&#62;&#60;br /&#62;
2. Use the &#34;gform_allowable_tags&#34; hook to specify which tags are allowed so they do not get stripped out - &#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;</description>
		</item>
		<item>
			<title>wearethenest on "iframe/HTML tags being stripped from field - how to disable this?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/iframehtml-tags-being-stripped-from-field-how-to-disable-this#post-50178</link>
			<pubDate>Wed, 22 Feb 2012 01:16:26 +0000</pubDate>
			<dc:creator>wearethenest</dc:creator>
			<guid isPermaLink="false">50178@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I have a post-submission action on a form, which is setup like so:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;add_action(&#38;quot;gform_post_submission_2&#38;quot;, &#38;quot;update_event&#38;quot;, 10, 2);
function update_event($entry, $form) {
  $str_with_iframe = $entry[3];
  // $entry[3] has HTML stripped
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;The field with ID = 3 is a textarea &#34;Paragraph Text&#34; type.&#60;/p&#62;
&#60;p&#62;If I enter something into the field and submit the form, like:&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;&#38;lt;iframe src=&#38;quot;http://example.com/&#38;quot;&#38;gt;&#38;lt;/iframe&#38;gt;
&#38;lt;a href=&#38;quot;http://example.com&#38;quot;&#38;gt;Visit the site&#38;lt;/a&#38;gt;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;From within the post submission hook, the content of $entry[3] is merely&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;Visit the site&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;with all HTML tags stripped.&#60;/p&#62;
&#60;p&#62;How can I avoid these tags from being stripped in this manner?&#60;/p&#62;
&#60;p&#62;Edit: I am using Gravity Forms v1.6.2.1.1.
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
