Skip navigation |

Run a simple survey that displays different results depending on answer combinations

You can give your form's answers numerical values and then display different content depending on the sum of the answers chosen by your visitor.

Last updated: 09 May 2012, 15:55

If you are conducting a survey, it can sometimes be useful to give weight to certain answers and then display different post submission text depending on the total score obtained by the user.

You can do this by taking two steps.

Give a numerical score to your allowed values

By using Dropdowns, Checkbox Lists, or Radio Buttons, add a numerical value in curly brackets next to each option. So if your question was "How often do you feel happy" and you wanted to give the answers values, you could enter the following into the Parameters box:

All the time{10},Sometimes{5},Never{0}

Use headings in the Post Submission Text

Once you have defined all your questions, you can use text in the format {{SUM:x-y}} to define what content is displayed depending on the total scores. Replace x with the lowest value that the content should be displayed for, and y with the highest.

A simple example

We want to run a survey just for fun that will determine what kind of person you are. The questions we are going to ask are:

  1. You see some rubbish in a neighbour's garden next to their bin. Do you: a) Walk past, b) Put the rubbish in the bin, or c) Kick the rubbish and knock over a flower?
  2. You find a wallet in the street. It contains their driving licence with their address on, and £100. Do you a) Pocket the £100 and throw the wallet away, b) Pocket the £100 and return the wallet, or c) Return the wallet and the cash to the owner?
  3. Walking down the street, you spot a homeless person. You have 50p in small change with you. Do you a) Give them the 50p, b) Walk straight past, or c) Walk straight past and say, "sorry, I have no money"?

We will add these questions to the form in the normal way. We will score the "good" answer in each case with a 4, the "medium" with a 2 and the "bad" with a 0.

So our parameters for each question will look like:

  1. Walk past{2};Put the rubbish in the bin{4};Kick the rubbish and knock over a flower{0}
  2. Pocket the £100 and throw the wallet away{0};Pocket the £100 and return the wallet{2};Return the wallet and the cash to the owner{4}
  3. Give them the 50p{4};Walk straight past{2};Walk straight past and say, "sorry, I have no money"{0}

In the Post Submission Text part of the form, we will display our results based on the survey answers:

Thank you for taking our survey. Here are your results:

{{SUM:0-5}}

I'm sorry, but our survey shows that you are a bad person. You need to take a good long look at yourself.

{{SUM:6-9}}

You are an average, decent person most of the time. Well done, but you could try harder.

{{SUM:10-12}}

Well done! You are a fine member of society and are a thoroughly decent individual. Keep it up!

{{ALL}}

Please call again soon!

The example form









 

Cookies are used by nearly every website to improve your web browsing experience. Recent government legislation (the e-Privacy Directive) means that we are obliged to seek your agreement to the use of cookies when you visit our website. Two of the cookies that we use are essential for this website to operate and have already been set. You may delete and block all cookies from this site, but if you do so, parts of the site will not work. To find out more about the cookies that we use, please see our privacy policy.