<?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: Conditional Merge Tag HTML in Notification Email</title>
		<link>https://legacy.forums.gravityhelp.com/topic/conditional-merge-tag-html-in-notification-email</link>
		<description>Gravity Support Forums Topic: Conditional Merge Tag HTML in Notification Email</description>
		<language>en-US</language>
		<pubDate>Sun, 19 Apr 2026 22:08:50 +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/conditional-merge-tag-html-in-notification-email" rel="self" type="application/rss+xml" />

		<item>
			<title>abcdistrict on "Conditional Merge Tag HTML in Notification Email"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/conditional-merge-tag-html-in-notification-email#post-51077</link>
			<pubDate>Thu, 01 Mar 2012 19:37:35 +0000</pubDate>
			<dc:creator>abcdistrict</dc:creator>
			<guid isPermaLink="false">51077@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I have a similar need and idea, i think but just confirming... From what I see above it is not currently possible to have something like this.&#60;/p&#62;
&#60;p&#62;Notification setup:&#60;br /&#62;
Phone: {field...}&#60;br /&#62;
Cell Phone: {field...}&#60;/p&#62;
&#60;p&#62;email notifications:&#60;/p&#62;
&#60;p&#62;User Registration  with cell phone:&#60;br /&#62;
Phone: (555)-555-5555&#60;br /&#62;
Cell Phone: (556)-777-7777&#60;/p&#62;
&#60;p&#62;User Registration without cell phone:&#60;br /&#62;
Phone: (555)-555-5555&#60;br /&#62;
Cell Phone: &#60;/p&#62;
&#60;p&#62;Is it possible to append the 'Cell Phone:' text to the field thereby having the additional text not display if the field is empty?&#60;/p&#62;
&#60;p&#62;Thanks. This plugin is making our registration silky smooth!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>David Smith on "Conditional Merge Tag HTML in Notification Email"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/conditional-merge-tag-html-in-notification-email#post-49254</link>
			<pubDate>Mon, 13 Feb 2012 13:34:16 +0000</pubDate>
			<dc:creator>David Smith</dc:creator>
			<guid isPermaLink="false">49254@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi ssimon,&#60;/p&#62;
&#60;p&#62;Thanks for sharing your idea. :)
&#60;/p&#62;</description>
		</item>
		<item>
			<title>ssimon on "Conditional Merge Tag HTML in Notification Email"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/conditional-merge-tag-html-in-notification-email#post-48591</link>
			<pubDate>Tue, 07 Feb 2012 16:44:33 +0000</pubDate>
			<dc:creator>ssimon</dc:creator>
			<guid isPermaLink="false">48591@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;While working on an entry form recently, I came up with a feature request that would extend upon the current functionality found by selecting &#34;All Merge Fields.&#34;&#60;/p&#62;
&#60;p&#62;Scenario:&#60;br /&#62;
Our form is registration for app development. For each application, a number of questions are asked and, after submitting the entry form, users receive an HTML email detailing what they've registered.&#60;/p&#62;
&#60;p&#62;Now, because there are a number of question involved with each application, we have to insert all possible merge tags (for example, {App #2: Market Focus:45} {App #2: Device(s):44} {App #3: Market Focus:47} {App #3: Device(s):46}) to accomodate.&#60;/p&#62;
&#60;p&#62;Unfortunately, formatting the HTML email proves difficult as line breaks and paragraphs need to be hard-coded regardless of whether or not the application will show up. Our form allows for up to twenty-four possible application registrations, so we could potentially send the user an email with details about one registered application with twenty-three empty line breaks.&#60;/p&#62;
&#60;p&#62;Get to the point:&#60;br /&#62;
What would be helpful is if we could expand the merge tag to define before and after content, similar to wp_list_pages. Perhaps something like:&#60;br /&#62;
&#60;code&#62;{[Field Name]:[field_id]:before:after}&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;In our form it would look something like&#60;br /&#62;
&#60;code&#62;{App #2: Market Focus:45:&#38;lt;p&#38;gt;:&#38;lt;/p&#38;gt;}&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;Many thanks for your time and the fantastic plugin.
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
