<?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: Creating a Self Assessment Test</title>
		<link>https://legacy.forums.gravityhelp.com/topic/creating-a-self-assessment-test</link>
		<description>Gravity Support Forums Topic: Creating a Self Assessment Test</description>
		<language>en-US</language>
		<pubDate>Tue, 21 Apr 2026 16:11: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/creating-a-self-assessment-test" rel="self" type="application/rss+xml" />

		<item>
			<title>Chris Hajer on "Creating a Self Assessment Test"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/creating-a-self-assessment-test#post-43674</link>
			<pubDate>Sat, 10 Dec 2011 22:09:07 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">43674@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Thanks for the update Tyler.  Please do post when the form and scoring are complete.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>tylertervooren on "Creating a Self Assessment Test"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/creating-a-self-assessment-test#post-43670</link>
			<pubDate>Sat, 10 Dec 2011 20:43:39 +0000</pubDate>
			<dc:creator>tylertervooren</dc:creator>
			<guid isPermaLink="false">43670@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Alright. With a ton of help from Chris, we have a properly functioning test that:&#60;/p&#62;
&#60;p&#62;1. Calculates scores and stores them in hidden fields on the form, and&#60;br /&#62;
2. Sends an email with conditional text based on the score from each hidden field.&#60;/p&#62;
&#60;p&#62;Here's the code: &#60;a href=&#34;http://pastebin.com/xJmhrVUN&#34; rel=&#34;nofollow&#34;&#62;http://pastebin.com/xJmhrVUN&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;I hope this is helpful for anyone else trying to put together a complicated quiz, test, or assessment.&#60;/p&#62;
&#60;p&#62;I'll post the form this code was intended for so you can see how it works once it's ready for prime time.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>tylertervooren on "Creating a Self Assessment Test"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/creating-a-self-assessment-test#post-43301</link>
			<pubDate>Wed, 07 Dec 2011 02:33:40 +0000</pubDate>
			<dc:creator>tylertervooren</dc:creator>
			<guid isPermaLink="false">43301@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Thanks for the reply, Chris. I've been testing it and just responded to you. Unfortunately, it's still not working... I'd love to be able to post the solution here once we get it so that others can benefit from it.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "Creating a Self Assessment Test"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/creating-a-self-assessment-test#post-43075</link>
			<pubDate>Sun, 04 Dec 2011 17:26:24 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">43075@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I replied to your email.  Let me know if that works for you and we'll post the solution here.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>tylertervooren on "Creating a Self Assessment Test"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/creating-a-self-assessment-test#post-42945</link>
			<pubDate>Fri, 02 Dec 2011 18:45:24 +0000</pubDate>
			<dc:creator>tylertervooren</dc:creator>
			<guid isPermaLink="false">42945@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;It's in your inbox. Thanks, Chris.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "Creating a Self Assessment Test"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/creating-a-self-assessment-test#post-42879</link>
			<pubDate>Fri, 02 Dec 2011 12:38:56 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">42879@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Can you export the form for me and I will install it with this code and take a look?&#60;/p&#62;
&#60;p&#62;One thing I don't know is if you can use and action hook like that twice?  Maybe all the code needs to be in the first hook so it all runs at one time.  I think that makes sense, but I don't really know the answer to that. If you will export the form and email it to &#60;a href=&#34;mailto:chris@rocketgenius.com&#34;&#62;chris@rocketgenius.com&#60;/a&#62; I will take a look and try it out.&#60;/p&#62;
&#60;p&#62;Thanks,&#60;br /&#62;
Chris
&#60;/p&#62;</description>
		</item>
		<item>
			<title>tylertervooren on "Creating a Self Assessment Test"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/creating-a-self-assessment-test#post-42850</link>
			<pubDate>Fri, 02 Dec 2011 03:27:36 +0000</pubDate>
			<dc:creator>tylertervooren</dc:creator>
			<guid isPermaLink="false">42850@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Line 78 changed to add_action, but no difference in the result. :(&#60;/p&#62;
&#60;p&#62;Updated php: &#60;a href=&#34;http://pastebin.com/MhfSEcPE&#34; rel=&#34;nofollow&#34;&#62;http://pastebin.com/MhfSEcPE&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Thanks for your continued support.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "Creating a Self Assessment Test"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/creating-a-self-assessment-test#post-42841</link>
			<pubDate>Fri, 02 Dec 2011 00:24:07 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">42841@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I am wondering about line 4 and line 78.  You call it as an action once, and a filter the other time.  Because the values are being stored, it looks like you have  the first part correct, line 4 through 75.  The documentation for &#60;a href=&#34;http://www.gravityhelp.com/documentation/page/Gform_pre_submission&#34; rel=&#34;nofollow&#34;&#62;gform_pre_submission&#60;/a&#62; calls it an action hook as well.&#60;/p&#62;
&#60;p&#62;I would first try changing line 78 to call it as add_action rather than add_filter, and see if that works.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>tylertervooren on "Creating a Self Assessment Test"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/creating-a-self-assessment-test#post-42830</link>
			<pubDate>Thu, 01 Dec 2011 22:25:54 +0000</pubDate>
			<dc:creator>tylertervooren</dc:creator>
			<guid isPermaLink="false">42830@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Well, I guess I didn't understand enough...&#60;/p&#62;
&#60;p&#62;I updated all of the variables from $lead[xxx] to rgpost('input_xxx'), but the notification email still comes through blank.&#60;/p&#62;
&#60;p&#62;The calculations in the other function are not being done the way I intended, but they *are* being done. Values are being stored in the empty hidden fields in the form; I can see them in the entries. Since there are values there, albeit the wrong ones, the notification, in theory, should still spit out one of the conditional results.&#60;/p&#62;
&#60;p&#62;Alas, that doesn't happen, so something else must be incorrect.&#60;/p&#62;
&#60;p&#62;Here's one more pastebin link with both functions in it so that you can see the whole shebang:&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://pastebin.com/RfQ1LAwG&#34; rel=&#34;nofollow&#34;&#62;http://pastebin.com/RfQ1LAwG&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;I know I'm close to having this thing licked....
&#60;/p&#62;</description>
		</item>
		<item>
			<title>tylertervooren on "Creating a Self Assessment Test"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/creating-a-self-assessment-test#post-42829</link>
			<pubDate>Thu, 01 Dec 2011 21:47:03 +0000</pubDate>
			<dc:creator>tylertervooren</dc:creator>
			<guid isPermaLink="false">42829@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Thanks Chris! I don't understand 90% of what you just said, but I'm pretty sure I get the 10% that matters most. :)
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
