# I have list of questions where the answer option are never, sometimes, often and always, and value of these answers are 1, 2,3 and 4. At the end of the questionnaire I would like to sum the all answer. This need to done on xforms. Kindly help me.

**URL:** <https://talk.openmrs.org/t/i-have-list-of-questions-where-the-answer-option-are-never-sometimes-often-and-always-and-value-of-these-answers-are-1-2-3-and-4-at-the-end-of-the-questionnaire-i-would-like-to-sum-the-all-answer-this-need-to-done-on-xforms-kindly-help-me/27813>\
**Category:** Uncategorized\
**Created:** [April 4, 2020, 8:34am UTC](https://talk.openmrs.org/t/i-have-list-of-questions-where-the-answer-option-are-never-sometimes-often-and-always-and-value-of-these-answers-are-1-2-3-and-4-at-the-end-of-the-questionnaire-i-would-like-to-sum-the-all-answer-this-need-to-done-on-xforms-kindly-help-me/27813 "2020-04-04T08:34:53Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![gokulakannan](https://talk.openmrs.org/letter_avatar/gokulakannan/32/5_5575768a8748004e209b776fc1b2916d.png) [@gokulakannan](https://talk.openmrs.org/u/gokulakannan)\
**Post date:** [April 4, 2020, 8:34am UTC](https://talk.openmrs.org/t/i-have-list-of-questions-where-the-answer-option-are-never-sometimes-often-and-always-and-value-of-these-answers-are-1-2-3-and-4-at-the-end-of-the-questionnaire-i-would-like-to-sum-the-all-answer-this-need-to-done-on-xforms-kindly-help-me/27813/1 "2020-04-04T08:34:53Z")

</div>

Example

1. Question one … Answer options are never, sometimes, often and always …value of these options are 1, 2, 3, 4. 2.question two… Same options 3…Question 3 ( questions one + questions two)… In xform how to get this function. I tried various methods , but nothing works.

---

<div class="post-metadata">

**Author:** ![dkayiwa](https://talk.openmrs.org/user_avatar/talk.openmrs.org/dkayiwa/32/179_2.png) [@dkayiwa](https://talk.openmrs.org/u/dkayiwa)\
**Post date:** [April 4, 2020, 6:36pm UTC](https://talk.openmrs.org/t/i-have-list-of-questions-where-the-answer-option-are-never-sometimes-often-and-always-and-value-of-these-answers-are-1-2-3-and-4-at-the-end-of-the-questionnaire-i-would-like-to-sum-the-all-answer-this-need-to-done-on-xforms-kindly-help-me/27813/2 "2020-04-04T18:36:06Z")

</div>

I do not seem to understand the problem. Can you describe it clearly?

---

<div class="post-metadata">

**Author:** ![gokulakannan](https://talk.openmrs.org/letter_avatar/gokulakannan/32/5_5575768a8748004e209b776fc1b2916d.png) [@gokulakannan](https://talk.openmrs.org/u/gokulakannan)\
**Post date:** [April 4, 2020, 11:49pm UTC](https://talk.openmrs.org/t/i-have-list-of-questions-where-the-answer-option-are-never-sometimes-often-and-always-and-value-of-these-answers-are-1-2-3-and-4-at-the-end-of-the-questionnaire-i-would-like-to-sum-the-all-answer-this-need-to-done-on-xforms-kindly-help-me/27813/3 "2020-04-04T23:49:18Z")

</div>

I want to have an autism score card in xform, where the answer option for each questions are 1, for never, up to normal values of 4 (always).

The total score is the sum of the scores of all questions answer. For example, all the 5 questions were answered never, total score is 5.

In display answer option should display as always, never, sometime and often…but values of these answers are 1,2,3,4 and at the end need total score

---

<div class="post-metadata">

**Author:** ![dkayiwa](https://talk.openmrs.org/user_avatar/talk.openmrs.org/dkayiwa/32/179_2.png) [@dkayiwa](https://talk.openmrs.org/u/dkayiwa)\
**Post date:** [April 5, 2020, 8:50am UTC](https://talk.openmrs.org/t/i-have-list-of-questions-where-the-answer-option-are-never-sometimes-often-and-always-and-value-of-these-answers-are-1-2-3-and-4-at-the-end-of-the-questionnaire-i-would-like-to-sum-the-all-answer-this-need-to-done-on-xforms-kindly-help-me/27813/4 "2020-04-05T08:50:35Z")

</div>

Did you get a chance to look at this and the links? [https://wiki.openmrs.org/display/docs/XForms+Module](https://wiki.openmrs.org/display/docs/XForms+Module)

---

<div class="post-metadata">

**Author:** ![gokulakannan](https://talk.openmrs.org/letter_avatar/gokulakannan/32/5_5575768a8748004e209b776fc1b2916d.png) [@gokulakannan](https://talk.openmrs.org/u/gokulakannan)\
**Post date:** [April 5, 2020, 12:22pm UTC](https://talk.openmrs.org/t/i-have-list-of-questions-where-the-answer-option-are-never-sometimes-often-and-always-and-value-of-these-answers-are-1-2-3-and-4-at-the-end-of-the-questionnaire-i-would-like-to-sum-the-all-answer-this-need-to-done-on-xforms-kindly-help-me/27813/5 "2020-04-05T12:22:39Z")

</div>

Yes… I am not a technical person…I didn’t get any solution for it …
