Here you can find how to create a personality quiz with variables and score calculation and redirect each user to different success pages based on their score.
1- Create a new project
To do it, you can use one of our existing templates or start from scratch. We will explain how to create a quiz from scratch in this article, step by step.
Go to your dashboard, click on + New Formaloo, and choose either form or a survey. For this tutorial, let's choose a survey. Add a name to your project. You'll be taken to a ready-made app with a template survey. Everything can be customized, let's start with the survey. Click on edit base and let's get to editing!
2- Think over the structure of your Quiz
Let’s consider our example - we are creating an Engagement Quiz “How to define Your Spirit Animal”.
Here is the structure of our Quiz:
Start screen
Introduction (here we ask the name and email of the customer)
Questions for defining a spirit animal
Test results
3- Create this structure in Formaloo
Customize the start screen (add title, description, and image)
Start by naming your quiz by simply double-clicking on it, and adding the description, logo, and cover picture. You can also customize the text in the description.
🗄️ Old dashboard:
By clicking on «Click to select the image», you can easily access pictures and photos that are stored on your device.
You can also add a title and description to your quiz. All of these features will be automatically added to your start screen. The description part is fully customizable: you can add tables, format your text, and insert images, links, and special characters.
Create an introduction
Click on the plus icon to add a field, the menu will open up. Add the text field for the participant's name and the email field for getting their email.
Since these questions are important, mark them as required from the right sidebar. It will add a snowflake symbol to the question.
We will use participants' names to customize test results for them, for that, we need to add an ID to the field. This feature is called answer piping.
Click on the first question and from the right sidebar add the ID name to it. We'll return to this.
🗄️ Old dashboard:
Add a Field «Text» from the menu on your left. Customize it the way you need using the tab Edit Field.
Create Questions
For this quiz, we will use the dropdown field to add questions. This field has pre-defined answers participants can choose from.
To add answers, simply click on the + add option.
For this quiz, we will use the following questions and answers:
What would you say is your most defining characteristic?
I'm a joker— knock knock...
I'm cool as a cucumber
I'm super observant
I'm cunning
I'm sentimental— free hugs?
How would your friends describe you?
Smart
Dopey
Witty
Chaotic
Clumsy
If you could live anywhere in the world, you would live...
In the English countryside
In a barren desert
Put me in the Australian outback
Let's go jungle
See you on safari
If someone offends you in front of friends, what do you do?
Stay calm, they didn't mean it
I'll watch them from afar and plot my revenge
Offend them right back, how dare they!
I'll remember this always and keep my distance
I'll strike back when they're alone
Go ahead and add those and let's see what are our next steps!
🗄️ Old dashboard:
Add Field «Dropdown» from the Edit Field tab. Add your question by writing text in the Title field. Then scroll down to see the Options field. Here you need to add all the options of answers you have for your question.
Add variables
For this quiz to work, we need to add variable fields and name them after your results names. You should have as many variable fields as many results as you have.
For this quiz, we will have 5 results, therefore, we will need 5 variables with the following titles: A horse, An eagle, A lion, A fox, and An elephant.
To calculate the actual value of all the variables, you should set the default value of each variable. Put 0 to Default Value.
You should set an ID for every variable so that later you will be able to call your variables.
Create Test results
In Formaloo there is a default Success Page. In simple words, a Success Page is a page that shows up when a customer succeeded in finishing a test. It is a page with test results.
With your survey, you may set up more than one success page. Then, using logic, you can lead users to different success pages based on their answers.
You can add images, links, tables, etc to your success pages.
Let’s keep in mind that for every person the result will be different. It depends on the person's answers. That’s why you need to create several success pages.
To customize the message, click on the text and write the one you want. To add ending pages, click on the plus icon at the lower left corner.
Our ending pages will be:
An elephant - You're wise beyond your years with a fantastic memory. You look after your friends and family and can be very proud.
A horse - Your spirit animal is a horse, calm and clear-headed, you lead with empathy. You're thoughtful and consider outcomes before taking action.
An eagle - Your spirit animal is an eagle. You're observant and like to take a look at the bigger picture. You prefer alone time over social situations. You hold your friends closer, and enemies closer.
A lion - Your spirit animal is a Lion. You're a fearless leader who stops for no one. You're courageous but tend to act first and consider consequences later, which can land you in trouble at times.
A fox - Your spirit animal is a fox. You have a quick tongue, and a sharp mind, and put it all to use. You're able to read a situation well and know when to back out if you're in danger.
Make sure to add the titles to your ending pages, so you can differentiate them. You can change them from the right sidebar, by typing the name in the title tab.
🗄️ Old dashboard:
One of your success pages should be the default success page. This helps your logic conditions show the default success page if no rule was true.
In the following, you will see how it works in the logic section.
Customize the submit button's text
To see the test result, the customer needs to press the submit button. Customize it with your own text and after clicking on it, it will redirect your customer to the results.
Double-click on the text and add whatever you'd like. You can also customize the buttons above, e.g. "Continue".
So, the basic structure of our Quiz is ready. Now let's work with Logic.
Logic is a set of actions that will eventually «launch» our quiz. We have prepared the questions, but to calculate the user's personality, we need to add logical rules to the questions. That’s why we need to ask automation to create a link between our questions and the "test results" (ending pages).
4- Add logic rules
Click on any question and once the logic tab opens on the right sidebar, click on advanced logic.
Add a rule on each question to score your variables based on the user’s response. Set a logic rule between your question ⇒ user’s answers ⇒ user’s test results.
See our example:
Add Condition:
if (the question) What would you say is your most defining characteristic? is (the answer) Option 1. I’m a joker - knock knock… then add 1 (point) to (the variable) A horse
Then add a rule for other options.
By the end, the logic for that question should look like this:
We need to do the same for other questions. You need to add this type of condition to every question, answer, and variable that you have.
For the next question, for example:
if (the question) How would your friends describe you? is (the answer) Option 5. Smart then add 1 (point) to (the variable) A horse.
if (the question) If you could live anywhere in the world, where would it be? is (the answer) Option 3. Put me in the Australian outback then add 1 (point) to (the variable) A lion
In our example, we have 4 questions and 5 options for answers to these questions. It means that we should have 20 Logic conditions.
Add a rule for comparing the final value of the variables
Now let’s set the rule for what automation should do to compare the values.
Scroll down to the last question where the quiz ends and all personality variables have a final value.
This is where we can compare the final values of variables and show the success page relevant to the biggest variable.
The examples of these rules can be as followed:
If you want to add different conditions, like adding add or or option, click on + add a condition to the rule while writing it.
It needs to follow this rule:
We have A, B, C, D, E:
if D is > than E then after submitting go to ending page D
if C is > D and if C is > E then after submitting go to the ending page C
if B is > than C and if B is > D and if B is > than E then after submitting go to ending page B
if A is > than B and if A is > than C and if A is > than D and if A is > then E then after submitting go to ending page A
Where:
E is Elephant
D is Fox
C is Lion
B is Eagle
A is Horse
Let’s consider our example:
📝 Additional insights: You can see the complete logic in our template of an Engagement Quiz «How to define Your Spirit Animal» here: Template
🗄️ Old dashboard: