<?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: Insert HTML into notification emails</title>
		<link>https://legacy.forums.gravityhelp.com/topic/insert-html-into-notification-emails</link>
		<description>Gravity Support Forums Topic: Insert HTML into notification emails</description>
		<language>en-US</language>
		<pubDate>Mon, 20 Apr 2026 20:30:55 +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/insert-html-into-notification-emails" rel="self" type="application/rss+xml" />

		<item>
			<title>Rob Harrell on "Insert HTML into notification emails"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/insert-html-into-notification-emails#post-79794</link>
			<pubDate>Tue, 09 Oct 2012 07:40:17 +0000</pubDate>
			<dc:creator>Rob Harrell</dc:creator>
			<guid isPermaLink="false">79794@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Glad you got it working, thanks for letting us know!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>James on "Insert HTML into notification emails"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/insert-html-into-notification-emails#post-79792</link>
			<pubDate>Tue, 09 Oct 2012 06:56:37 +0000</pubDate>
			<dc:creator>James</dc:creator>
			<guid isPermaLink="false">79792@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I found it in the documentation here:&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://www.gravityhelp.com/documentation/page/Notification&#34; rel=&#34;nofollow&#34;&#62;http://www.gravityhelp.com/documentation/page/Notification&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Clearly I need to work a bit harder on my search-fu.&#60;/p&#62;
&#60;p&#62;Thanks again,&#60;br /&#62;
James
&#60;/p&#62;</description>
		</item>
		<item>
			<title>James on "Insert HTML into notification emails"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/insert-html-into-notification-emails#post-79762</link>
			<pubDate>Tue, 09 Oct 2012 04:51:38 +0000</pubDate>
			<dc:creator>James</dc:creator>
			<guid isPermaLink="false">79762@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Thank you both for your support.&#60;/p&#62;
&#60;p&#62;Dana,&#60;/p&#62;
&#60;p&#62;This fixes it perfectly. I was already using the pre_submission filter, I just needed to know that I could access the email message via $form[&#34;notification&#34;][&#34;message&#34;]. &#60;/p&#62;
&#60;p&#62;Did I miss this in the documentation?&#60;/p&#62;
&#60;p&#62;Thanks,&#60;br /&#62;
James
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Dana Cobb on "Insert HTML into notification emails"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/insert-html-into-notification-emails#post-79709</link>
			<pubDate>Mon, 08 Oct 2012 18:01:53 +0000</pubDate>
			<dc:creator>Dana Cobb</dc:creator>
			<guid isPermaLink="false">79709@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi, James,&#60;/p&#62;
&#60;p&#62;I think what you really need to use is the gform_pre_submission_filter (&#60;a href=&#34;http://www.gravityhelp.com/documentation/page/Gform_pre_submission_filter&#34; rel=&#34;nofollow&#34;&#62;http://www.gravityhelp.com/documentation/page/Gform_pre_submission_filter&#60;/a&#62;) . This filter allows you to modify the email body content. You can set the content to the value from the HTML field. See the example located at &#60;a href=&#34;http://pastie.org/5021159&#34; rel=&#34;nofollow&#34;&#62;http://pastie.org/5021159&#60;/a&#62; . You will see that I am setting the message for the admin notification and the user email to the content of my html field (field id 1 in the example).  I have responded to your priority ticket with the same information.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "Insert HTML into notification emails"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/insert-html-into-notification-emails#post-79653</link>
			<pubDate>Mon, 08 Oct 2012 13:58:41 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">79653@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Can you post links to the pages where your forms are embedded?  I'm having a hard time visualizing  the flow. Maybe even post at pastie.org or pastebin.com the text of an email notification?  And what are you actually using now, the TOS plugin or just an HTML field?&#60;/p&#62;
&#60;blockquote&#62;&#60;p&#62;
 I'm guessing my content is just getting html stripped because I'm inserting it by filling a field on submission, and as you say html is not allowed.
&#60;/p&#62;&#60;/blockquote&#62;
&#60;p&#62;I believe that is true.&#60;/p&#62;
&#60;p&#62;Is the HTML being stored properly in the entry?  If so, we may be able to modify the user notification after and just add this HTML field to it.  However, if it's not stored correctly, we will have to come up with another solution.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>James on "Insert HTML into notification emails"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/insert-html-into-notification-emails#post-79593</link>
			<pubDate>Mon, 08 Oct 2012 11:22:23 +0000</pubDate>
			<dc:creator>James</dc:creator>
			<guid isPermaLink="false">79593@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Thanks Chris.&#60;/p&#62;
&#60;p&#62;Ideally I don't want to allow HTML to be submitted - I just want to be able to get HTML into the notification after form submission. I couldn't see a hook that would allow me to do this though.&#60;/p&#62;
&#60;p&#62;The emails are in HTML format - I'm guessing my content is just getting html stripped because I'm inserting it by filling a field on submission, and as you say html is not allowed.&#60;/p&#62;
&#60;p&#62;I just need a way to get html into the email... Is the only way to allow html in fields?&#60;/p&#62;
&#60;p&#62;Thanks,&#60;br /&#62;
James
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "Insert HTML into notification emails"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/insert-html-into-notification-emails#post-79592</link>
			<pubDate>Mon, 08 Oct 2012 11:17:25 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">79592@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;The notification emails are normally formatted in HTML, unless you change them.  However, HTML is not allowed in form entries by default.  If you would like to allow HTML be submitted by your visitors, please see gform_allowable_tags to allow specific HTML in your entries.&#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;</description>
		</item>
		<item>
			<title>James on "Insert HTML into notification emails"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/insert-html-into-notification-emails#post-79543</link>
			<pubDate>Mon, 08 Oct 2012 05:44:49 +0000</pubDate>
			<dc:creator>James</dc:creator>
			<guid isPermaLink="false">79543@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hello,&#60;/p&#62;
&#60;p&#62;I'm pulling data in from one form and inserting it (ready formatted) into a html field on a second form. I then want this html field to go into the notification email that gets sent from the second form.&#60;/p&#62;
&#60;p&#62;I saw that someone was using the Gravity Forms Terms of Service Field plugin to achieve something similar, and this is close, but the field displays the encoded html. I could get round this by still using the html field still, and just using the TOS field for the email but it seems to strip it out all of the html when it is sent.&#60;/p&#62;
&#60;p&#62;Is there a way of inserting HTML into the notification emails?&#60;/p&#62;
&#60;p&#62;Thanks,&#60;br /&#62;
James
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
