Personality test using checkboxes
how do I add values to a specific field (red, blue, green or yellow) when a box is checked?
I have a series of fifty personality traits. Each trait will increase your likelihood of being one of four personality types. The end result will be a pie chart.
Example: after reading the list, the user identifies them selves as :
Empathetic = one point in the "green" category.
Detailed = one point in the "blue" category
The user does not click on any other box.
The resulting pie chart is 50%green & 50% blue with 0% red or yellow personality traits.
I want all of the checkboxes on screen at once and to have them randomly ordered each time they take the test.
But firts: how do I add values to a specific field (red, blue, green or yellow) when a box is checked?