# How to create score calculation in form?

**espleyk**I am completely bewildered. For each question in my quiz there is a yes or no answer and depending on each question I have put in a score of 0 or 1.

I have added the form calculation wizard and added a calculation for each question, but I don't think that's right! But I still can't get it to add it all up. I want to do a conditional logic for the thank you page which gives them a response that depends on the total scored. But when I go to the conditions menu to add conditional logic on the thank you page - I don't have a line that says - Total sum like you have in your example. How do I get a total score at the end in order to then be able to add this conditional logic. Thank you

*This is a re-post of a comment on How to Perform Form Calculation Using a Widget*- JotForm Support
**Chriistian**Are you referring to the form http://www.jotformeu.com/form/72162282925356?

Regarding the computation of total score on your form, I see that you have

*Form Calculation*field for each page. I think you only need one*Form Calculation*widget which will compute the overall score. Please see below.Regarding the conditions you want to apply to your form, I see that there is no condition in you form yet. If you could give us more information regarding the condition you want to apply, we will be happy to help you. Please see Smart Forms Using Conditional Logic

**espleyk**Thank you. I've now deleted them all, but I'm still not clear where to put it, or how to get the score in.

And yes, that is the right test.

Once I've got that sorted, yes please, I need help with the conditional formatting.

Sorry for being so stupid!

- JotForm Support
**Nik_C**Don't worry, we're here to help.

Here is what you have to do:

1) Add one form calculations widget to your form, you can put it at the end of the form, you will make it hidden anyway:

2) Then you add all questions in it as sum i.e. Question1 + Question2 + Question3 +....

So simply add each field and put plus between them.

Since you added already calculation values for each answer, 0 - wrong, 1 - correct:

It will work as it is.

If you need any assistance please let us know.

Thank you!

**espleyk**I'm nearly there!! I got the form calculation in and I've done the conditional conditions.

However it only seems to come up with one answer i.e. you scored 7 or less - even when I've answered all the questions correctly and should get 20.

What am I doing wrong now?

Thank you

- JotForm Support
**Nik_C**The issue is that you were adding paragraphs and not the actual fields:

And it should be these:

But I fixed that for you in your form, please check and let us know how it worked.

Thank you!

**espleyk**I'm so sorry - I've only just seen this now.

Thank you sooooo much - all sorted and working.

Thanks for all your help and patience - I really appreciate it.

K