<?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: Making a result page based on conditional logic</title>
		<link>https://legacy.forums.gravityhelp.com/topic/making-a-result-page-based-on-conditional-logic</link>
		<description>Gravity Support Forums Topic: Making a result page based on conditional logic</description>
		<language>en-US</language>
		<pubDate>Sat, 04 Apr 2026 13:58: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/making-a-result-page-based-on-conditional-logic" rel="self" type="application/rss+xml" />

		<item>
			<title>Chris Hajer on "Making a result page based on conditional logic"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/making-a-result-page-based-on-conditional-logic#post-34462</link>
			<pubDate>Mon, 05 Sep 2011 10:53:20 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">34462@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Carsten, to paste code, if it's short, use the backtick, which is to the left of the number keys, above the tab, below the ESC, on US keyboards.  &#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://superuser.com/questions/203138/backtick-on-an-italian-macbook-pros-keyboard/203140#203140&#34; rel=&#34;nofollow&#34;&#62;http://superuser.com/questions/203138/backtick-on-an-italian-macbook-pros-keyboard/203140#203140&#60;/a&#62; (includes photo)&#60;/p&#62;
&#60;p&#62;Thanks for the update and I look forward to reading your other topics.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Carsten on "Making a result page based on conditional logic"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/making-a-result-page-based-on-conditional-logic#post-34456</link>
			<pubDate>Mon, 05 Sep 2011 07:40:07 +0000</pubDate>
			<dc:creator>Carsten</dc:creator>
			<guid isPermaLink="false">34456@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi Chris&#60;/p&#62;
&#60;p&#62;Thank you for your mail.&#60;/p&#62;
&#60;p&#62;As Chris pointed out to me, in his e-mail, my problem is solved, and my new questions belong in a new post. :-) (I had some new questions in the mail)&#60;/p&#62;
&#60;p&#62;I just want to share what I did to solve my latest questions, I have used Chris's example code, and build on that, these examples uses that code:&#60;br /&#62;
To insert text I used this method: &#60;/p&#62;
&#60;pre&#62;&#60;code&#62;$confirmation .= &#38;quot;This is the line you write to the screen,&#38;quot; . $lead[1] . &#38;quot; Writes the content of $lead[1] in the message.&#38;lt;/p&#38;gt;&#38;quot;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Depending on the use of &#34; or ' You should use:&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;&#38;quot; . $lead[1] . &#38;quot; or &#38;#39; . $lead[1] . &#38;#39;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;And math:&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;$Score = $lead[1] + $lead[2] + $lead[3];&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Print score:&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;&#38;quot; . $Score . &#38;quot;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Thank you Chris and the rest of the support team for all your help!&#60;/p&#62;
&#60;p&#62;P.s.&#60;br /&#62;
I have tried to format the inserted code in my messages, but I can not get that to work, sorry
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "Making a result page based on conditional logic"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/making-a-result-page-based-on-conditional-logic#post-34315</link>
			<pubDate>Sat, 03 Sep 2011 00:36:59 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">34315@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Carsten, I just sent you an email.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Carsten on "Making a result page based on conditional logic"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/making-a-result-page-based-on-conditional-logic#post-34223</link>
			<pubDate>Fri, 02 Sep 2011 09:52:17 +0000</pubDate>
			<dc:creator>Carsten</dc:creator>
			<guid isPermaLink="false">34223@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi Chris&#60;/p&#62;
&#60;p&#62;Thank for your offer of writing you an e-mail, I have taken you up on that, and just send you an e-mail with my remaining questions, and the export of the form, and the code that I have in my functions.php&#60;/p&#62;
&#60;p&#62;Looking forward to hearing from you :-)&#60;/p&#62;
&#60;p&#62;I completely understand that you need to prioritize, I just did not know that. :-)&#60;/p&#62;
&#60;p&#62;Thanks&#60;br /&#62;
Carsten
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "Making a result page based on conditional logic"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/making-a-result-page-based-on-conditional-logic#post-34211</link>
			<pubDate>Fri, 02 Sep 2011 04:54:10 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">34211@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi Carsten.  We would love if you upgraded to a Developer License!  But it's not required to receive support here.  Support requests are prioritized with problems and simple customizations coming first, with more complex customizations (such as yours) coming after.  I will take a look at this again on Friday and see if I can provide a more useful example to you.  The pieces I linked you too were all sort of just a nudge in the right direction, but I can work up more thorough examples for you.&#60;/p&#62;
&#60;p&#62;Do you want to focus on the notification email or the confirmation message shown to the visitor after form submission?&#60;/p&#62;
&#60;p&#62;The explanation of what you want to accomplish is pretty clear.  If the form is live, please post a link to it.  If you have some portion of it built, please export it as XML and send it to me at &#60;a href=&#34;mailto:chris@rocketgenius.com&#34;&#62;chris@rocketgenius.com&#60;/a&#62;, or post it in a publicly accessible location where I can download it and install it so I have something relevant to start with.  Thanks.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Carsten on "Making a result page based on conditional logic"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/making-a-result-page-based-on-conditional-logic#post-34180</link>
			<pubDate>Thu, 01 Sep 2011 17:56:48 +0000</pubDate>
			<dc:creator>Carsten</dc:creator>
			<guid isPermaLink="false">34180@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi&#60;/p&#62;
&#60;p&#62;I am very happy with the level of support I have received this far! If my questions are to specific, or in some way outside of the scope of support questions, please let me know,&#60;/p&#62;
&#60;p&#62;Would it change anything if I upgraded my license to a developer license, so I will be able to receive priority support?&#60;/p&#62;
&#60;p&#62;I am very happy with your support, I think that you have already gone very far in supporting me, and I can perfectly understand if I should pay extra for more support on this topic, just let me know. :-)&#60;/p&#62;
&#60;p&#62;If my programing skills were a little better, I probably would not need this much help.&#60;/p&#62;
&#60;p&#62;Thanks&#60;br /&#62;
Carsten
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Carsten on "Making a result page based on conditional logic"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/making-a-result-page-based-on-conditional-logic#post-34160</link>
			<pubDate>Thu, 01 Sep 2011 11:26:44 +0000</pubDate>
			<dc:creator>Carsten</dc:creator>
			<guid isPermaLink="false">34160@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi Chris&#60;/p&#62;
&#60;p&#62;I have looked through the information that you have linked to, and I must admit that I can not get it to work, together with the example code that you provided me earlier in this post.&#60;/p&#62;
&#60;p&#62;I will try to explain what it is that I want to do:&#60;br /&#62;
input_7 holds some information that I would like to post in the custom notification message, that I have made using your example code. What I need now is a clue on how to post the information that is in input_7, I can not figure that out looking at the posts you have provided links to.&#60;/p&#62;
&#60;p&#62;I am guessing that the &#60;code&#62;{My Field:7:value}&#60;/code&#62; is used when creating a confirmation message in Gravity Forms admin in Wordpress, but I am creating the message in functions.php&#60;/p&#62;
&#60;p&#62;I was thinking something like this:  &#60;code&#62;$confirmation .= &#38;quot;Hi &#38;quot; $lead[7] &#38;quot;you&#38;#39;re a Photoshop person, comfortable in the digital world of RGB.&#38;lt;/p&#38;gt;&#38;quot;;&#60;/code&#62;&#60;br /&#62;
Where the value in input_7 would be the name.&#60;/p&#62;
&#60;p&#62;Can you help me to do something like that?&#60;/p&#62;
&#60;p&#62;The next would be to add up input_9 and input_10 and display that in a similar way ` $score = $lead[9]+$lead[10];&#60;br /&#62;
$confirmation .= &#34;We have calculated that &#34; $score &#34;is the sum of your values added together .&#38;lt;/p&#38;gt;&#34;;  `&#60;/p&#62;
&#60;p&#62;Can you help me to do something like that?&#60;/p&#62;
&#60;p&#62;Thanks&#60;br /&#62;
Carsten
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "Making a result page based on conditional logic"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/making-a-result-page-based-on-conditional-logic#post-34130</link>
			<pubDate>Thu, 01 Sep 2011 09:15:13 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">34130@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Here is an explanation of how to total up the values yes/no and using that in the confirmation message.  You can adapt this to insert the math results into the notification message rather than the confirmation screen.&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://www.gravityhelp.com/forums/topic/mathematics-to-gravity-forms#post-32566&#34; rel=&#34;nofollow&#34;&#62;http://www.gravityhelp.com/forums/topic/mathematics-to-gravity-forms#post-32566&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;You can replace the sum with whatever math you want.&#60;/p&#62;
&#60;p&#62;Here's an explanation of how to change the confirmation email.&#60;br /&#62;
&#60;a href=&#34;http://www.gravityhelp.com/forums/topic/conditional-logic-for-user-notifications#post-32358&#34; rel=&#34;nofollow&#34;&#62;http://www.gravityhelp.com/forums/topic/conditional-logic-for-user-notifications#post-32358&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;You have a bunch of little pieces to glue together.  I think all the information you need is here.  If not, please let me know.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Carsten on "Making a result page based on conditional logic"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/making-a-result-page-based-on-conditional-logic#post-34107</link>
			<pubDate>Thu, 01 Sep 2011 02:54:08 +0000</pubDate>
			<dc:creator>Carsten</dc:creator>
			<guid isPermaLink="false">34107@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi Chris&#60;/p&#62;
&#60;p&#62;That sounds great, I am looking forward to this, I have tried searching, but I'am not sure I know what to search for. So thanks!&#60;/p&#62;
&#60;p&#62;Carsten
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "Making a result page based on conditional logic"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/making-a-result-page-based-on-conditional-logic#post-34090</link>
			<pubDate>Wed, 31 Aug 2011 18:21:11 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">34090@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Carsten, all these things are possible and I have examples around here somewhere.  I will find them for you and post them tomorrow.    Items 1 and 2 are the same, and I have an example with some math as well.  I'll check in tomorrow with the examples.
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
