# Trying to create a fun quiz for the lockdown

**URL:** <https://community.modx.com/t/trying-to-create-a-fun-quiz-for-the-lockdown/2432>\
**Category:** General\
**Created:** [March 25, 2020, 9:25am UTC](https://community.modx.com/t/trying-to-create-a-fun-quiz-for-the-lockdown/2432 "2020-03-25T09:25:20Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![tm2000](https://community.modx.com/user_avatar/community.modx.com/tm2000/32/178_2.png) [@tm2000](https://community.modx.com/u/tm2000)\
**Post date:** [March 26, 2020, 11:25am UTC](https://community.modx.com/t/trying-to-create-a-fun-quiz-for-the-lockdown/2432/4 "2020-03-26T11:25:59Z")

</div>

So I’m getting somewhere with this. I have set up a multi page form, which multiple choice questions using radio buttons.

But what I’m not sure about is ho to add the ‘scoring’ to the questions.  
For example:

Q1: How tall is Andy?  
[A] 185cm  
[B] 195cm  
[C] 205cm

The answer is B, but how do I translate that to a score of 1, and all others get a score of zero?  
Finally I need a way to add them all up in a hidden field at the end to give them a score.

Can anyone help?

Thanks!  
Andy

---

_[View the full topic](https://community.modx.com/t/trying-to-create-a-fun-quiz-for-the-lockdown/2432)._
