# Count and display results of selected radio buttons for a survey

**URL:** <https://community.gravityforms.com/t/count-and-display-results-of-selected-radio-buttons-for-a-survey/10384>\
**Category:** Get Help\
**Tags:** personality-quiz\
**Created:** [July 22, 2021, 10:21am UTC](https://community.gravityforms.com/t/count-and-display-results-of-selected-radio-buttons-for-a-survey/10384 "2021-07-22T10:21:50Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![user5c06e208478513.5](https://avatars.discourse-cdn.com/v4/letter/u/51bf81/32.png) [@user5c06e208478513.5](https://community.gravityforms.com/u/user5c06e208478513.5)\
**Post date:** [July 22, 2021, 10:21am UTC](https://community.gravityforms.com/t/count-and-display-results-of-selected-radio-buttons-for-a-survey/10384/1 "2021-07-22T10:21:50Z")

</div>

Hi there  
I am building a personality type survey form with Gravity Forms but i’m having difficulty with the scoring at the end. I have 17 questions, each with an A, B or C answer. The result of which I would like to show a percentage at the end showing the user how many of each answer they gave, thus giving them an answer of “you are mostly A/B/C”, for example.

I have the form set up with radio buttons with a value of 5, 10 or 25 for A / B / C respectively. I then have the values of each answer being calculated into a hidden field (Total) via $\_POST. I’ve also set the basic conditional logic for the confirmations to say whether the user is mostly A/B/C, but I don’t know how to count and show the percentage of the total responses as i’ve highlighted above.

Can anyone give me a steer on this please?

---

<div class="post-metadata">

**Author:** ![richardw8k](https://sea2.discourse-cdn.com/flex020/user_avatar/community.gravityforms.com/richardw8k/32/2354_2.png) [@richardw8k](https://community.gravityforms.com/u/richardw8k)\
**Post date:** [January 4, 2022, 4:23pm UTC](https://community.gravityforms.com/t/count-and-display-results-of-selected-radio-buttons-for-a-survey/10384/2 "2022-01-04T16:23:21Z")

</div>


