{"id":167,"date":"2015-05-06T21:59:55","date_gmt":"2015-05-07T04:59:55","guid":{"rendered":"http:\/\/lornas.wpengine.com\/?p=167"},"modified":"2015-05-06T21:59:55","modified_gmt":"2015-05-07T04:59:55","slug":"how-to-create-an-assessment-quiz-with-gravity-forms","status":"publish","type":"post","link":"https:\/\/lorennason.com\/2015\/05\/how-to-create-an-assessment-quiz-with-gravity-forms\/","title":{"rendered":"How to Create an Assessment Quiz with Gravity Forms"},"content":{"rendered":"

Have you taken an assessment test? You know, the one where you answer a bunch of questions and then the test tells you if are capable, hot or not.<\/p>\n

Have you wanted to build your own? Of course you have.<\/p>\n

A client asked me to do the same. So I researched (googled it) and then figured out how to do it. So I thought I would share with you a tutorial and an example.<\/p>\n

The Example:
\nTake the “Should You Build a WordPress site Yourself<\/a>” assessment test.<\/p>\n

How did I build this?<\/strong><\/p>\n

First I installed the awesome Gravity Forms<\/a> plugin and then installed\u00a0the Quiz add-on.<\/p>\n

I created a new form and created a series of questions. Each question is required so the scoring will work as I want it to. I added a Name and Email field so I can send the participant their results along with some links to help them with their prospective score. Of course I will also add them to my mailing list if they confirm subscription to my list.<\/p>\n

\"assessment-quiz\"<\/a><\/p>\n

To score the test as an assessment instead of a pass\/fail you need\u00a0to use weighted answers for each of the answers for each question. Below you see how to enable this.<\/p>\n

\"weighted-score\"<\/a><\/p>\n

After creating the questions and weighting I had to plan out the 3 levels of assessment\u00a0I wanted.\u00a0I setup 3 different results. At the end of the test you are also redirected to a page that matches your assessment and then a matching email is sent.<\/p>\n

To send\u00a0the correct emails and redirect to the correct landing pages for each assessment level you need to use\u00a0conditional logic for each confirmation and email. This isn’t programming. For each confirmation and notification I set a condition based on the quiz score total.\u00a0I have 3 levels of scoring. Each score level has it’s own page and it’s own email sent. Scoring at time of this post:<\/p>\n