<?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: Newbie mistake or something more</title>
		<link>https://legacy.forums.gravityhelp.com/topic/newbie-mistake-or-something-more</link>
		<description>Gravity Support Forums Topic: Newbie mistake or something more</description>
		<language>en-US</language>
		<pubDate>Tue, 07 Apr 2026 20:01:28 +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/newbie-mistake-or-something-more" rel="self" type="application/rss+xml" />

		<item>
			<title>frey1esm on "Newbie mistake or something more"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/newbie-mistake-or-something-more#post-32170</link>
			<pubDate>Tue, 09 Aug 2011 21:44:30 +0000</pubDate>
			<dc:creator>frey1esm</dc:creator>
			<guid isPermaLink="false">32170@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Carl, I was able to implement a simple hack.&#60;/p&#62;
&#60;p&#62;I will look for the new plaintext feature in 1.6, but for now I have what I need. Thanks for the insight!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>frey1esm on "Newbie mistake or something more"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/newbie-mistake-or-something-more#post-32109</link>
			<pubDate>Tue, 09 Aug 2011 13:25:33 +0000</pubDate>
			<dc:creator>frey1esm</dc:creator>
			<guid isPermaLink="false">32109@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Carl, sure I can do that. Please email me details. Thanks for the help!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Carl Hancock on "Newbie mistake or something more"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/newbie-mistake-or-something-more#post-32104</link>
			<pubDate>Tue, 09 Aug 2011 11:28:09 +0000</pubDate>
			<dc:creator>Carl Hancock</dc:creator>
			<guid isPermaLink="false">32104@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;That is correct, after discussing this issue with our lead developer the field output is still being auto-formatted.  The disable auto-formatting only disables it on your notification message text that you add.  This is so that users can create full HTML emails without auto-formatting causing problems.  HOWEVER in that situation you still want the fields to be auto-formatted, otherwise paragraphs would run together, etc.&#60;/p&#62;
&#60;p&#62;This is an interesting situation because you don't want ANY of it auto-formatted.  It sounds like you want is more of a plain text email which would solve the auto-formatting issue entirely because the entire email would be plain text.  The problem with this is it's not currently a feature, a plain text feature is coming in the v1.6 release that is in development and will be released as a beta release later this week.  You will be able to use a hook to tell Gravity Forms to send a specific notification email as plain text, it will then output all of the field values as plain text.&#60;/p&#62;
&#60;p&#62;If you can't wait until v1.6 the solution is going to be to edit the core plugin files themselves to disable the auto-formatting of field output.  We might be able to assit you with custom code so that it only applies this non-autoformatting to a specific field on a specific form.  BUT this will require editing the core plugin files.  Is this something you are comfortable doing if we provide you some instructions?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "Newbie mistake or something more"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/newbie-mistake-or-something-more#post-32085</link>
			<pubDate>Tue, 09 Aug 2011 00:49:24 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">32085@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Looking more carefully at this, it appears the &#34;Disable Auto-formatting&#34; works to &#60;strong&#62;not format&#60;/strong&#62; your carefully crafted admin notification, but data stored in the entry with new lines is run through &#60;a href=&#34;http://php.net/manual/en/function.nl2br.php&#34; rel=&#34;nofollow&#34;&#62;nl2br&#60;/a&#62; which converts all the new lines in the entry to &#38;lt; br / &#38;gt;.&#60;/p&#62;
&#60;p&#62;I don't think you'd see it in this form anywhere else since all the other inputs are single line (no new lines.)  But the PGP block is stored with new lines, and on the way to the notification it's run through nl2br, which is adding those breaks.  It has nothing to do with PGP.  It just happens that there are new lines in that field after you store it.&#60;/p&#62;
&#60;p&#62;I forwarded this information to the developers and expect we'll hear back here soon with an explanation.  Thanks for your patience.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "Newbie mistake or something more"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/newbie-mistake-or-something-more#post-32081</link>
			<pubDate>Mon, 08 Aug 2011 23:34:33 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">32081@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Probably not related and just a typo, but you're using both $encrypted_field  and $encrypted_&#60;strong&#62;my&#60;/strong&#62;field in there.  You're setting $encrypted_myfield but returning $encrypted_field.&#60;/p&#62;
&#60;p&#62;Looking at the rest now...
&#60;/p&#62;</description>
		</item>
		<item>
			<title>frey1esm on "Newbie mistake or something more"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/newbie-mistake-or-something-more#post-32076</link>
			<pubDate>Mon, 08 Aug 2011 20:37:08 +0000</pubDate>
			<dc:creator>frey1esm</dc:creator>
			<guid isPermaLink="false">32076@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi Chris,&#60;/p&#62;
&#60;p&#62;Here's the hook code:&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://www.pastie.org/2342262&#34; rel=&#34;nofollow&#34;&#62;http://www.pastie.org/2342262&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;That field is a 'single line text' field in the form, and a mysql type &#34;text&#34; in the db.&#60;/p&#62;
&#60;p&#62;Here's the notification code:&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://www.pastie.org/2342274&#34; rel=&#34;nofollow&#34;&#62;http://www.pastie.org/2342274&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "Newbie mistake or something more"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/newbie-mistake-or-something-more#post-32074</link>
			<pubDate>Mon, 08 Aug 2011 19:44:24 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">32074@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Also, can you post what you're using as your admin notification?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "Newbie mistake or something more"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/newbie-mistake-or-something-more#post-32073</link>
			<pubDate>Mon, 08 Aug 2011 19:34:05 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">32073@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Sounds like you're inserting the PGP message into the entry using the &#60;strong&#62;gform_save_field_value&#60;/strong&#62; hook?  Can you post the code you're using with that hook?  And what type of field is that value being inserted into?&#60;/p&#62;
&#60;p&#62;The &#34;disable auto-formatting&#34; setting is for the notification only, not creation of the entry.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>frey1esm on "Newbie mistake or something more"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/newbie-mistake-or-something-more#post-32072</link>
			<pubDate>Mon, 08 Aug 2011 19:24:11 +0000</pubDate>
			<dc:creator>frey1esm</dc:creator>
			<guid isPermaLink="false">32072@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I'm using the hook  'save_field_value', so is it possible that using the hook is bypassing the &#34;disable auto-formatting' function?&#60;/p&#62;
&#60;p&#62;There's nothing in my code that would ever insert html.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Carl Hancock on "Newbie mistake or something more"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/newbie-mistake-or-something-more#post-32058</link>
			<pubDate>Mon, 08 Aug 2011 17:09:12 +0000</pubDate>
			<dc:creator>Carl Hancock</dc:creator>
			<guid isPermaLink="false">32058@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;If it's happening only in the PGP output then it's something to do with your custom code.  I would start there.  The fact that they are only appearing as part of the PHP Message would tell me that it's related to the code that it generating the PGP or inserting it into the Gravity Form entry.
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
