Posts Tagged: gravity forms

Calculating Personality Quizzes with Gravity Forms

For a recent project I had to determine the most commonly selected answer/value in a quiz submission. This quiz was built using Gravity Forms, so I added a custom merge tag that calculates the most common value in the submission array. This is useful for Buzzfeed-style personality quizzes, example: if you selected mostly ‘pony’ value answers you are a pony.

Once this information is available as a merge tag you can display conditional badges for each result.