# Issue on a quiz page to compute the score

**URL:** <https://community.glideapps.com/t/issue-on-a-quiz-page-to-compute-the-score/81264>\
**Category:** Ask for Help\
**Created:** [April 10, 2025, 12:22pm UTC](https://community.glideapps.com/t/issue-on-a-quiz-page-to-compute-the-score/81264 "2025-04-10T12:22:22Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![charles\_ram](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/charles_ram/32/86999_2.png) [@charles\_ram](https://community.glideapps.com/u/charles_ram)\
**Post date:** [April 10, 2025, 12:22pm UTC](https://community.glideapps.com/t/issue-on-a-quiz-page-to-compute-the-score/81264/1 "2025-04-10T12:22:22Z")

</div>

Hi,  
I am very new with Glide and use the free plan.  
I am building a quiz app using Form container based on my table Responses. I use a Choice component to display the questions and options (3 possible responses in a chips form where only one is correct). 2 points I want help :

1. How to capture the user choice with each question, test it if correct or not and display respectively green and red icons ?
2. How to calculate the score only from the UI because I notice that nothing happens in the table database until the button Submit is clicked.  
Thank you  
Best  
CE

---

<div class="post-metadata">

**Author:** ![fk1214](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/fk1214/32/71058_2.png) [@fk1214](https://community.glideapps.com/u/fk1214)\
**Post date:** [April 10, 2025, 12:26pm UTC](https://community.glideapps.com/t/issue-on-a-quiz-page-to-compute-the-score/81264/3 "2025-04-10T12:26:01Z")

</div>

Can you show your structure of the database so far?

---

<div class="post-metadata">

**Author:** ![charles\_ram](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/charles_ram/32/86999_2.png) [@charles\_ram](https://community.glideapps.com/u/charles_ram)\
**Post date:** [April 10, 2025, 12:42pm UTC](https://community.glideapps.com/t/issue-on-a-quiz-page-to-compute-the-score/81264/4 "2025-04-10T12:42:01Z")

</div>

Thx for your quick reply.  
My table Responses\_quiz : Rep1 to Rep10 (for the user response), S1 to S10 (for the scores 1 if correct unless 0), S\_total (sum of S1 to S10).  
I have another table Quiz : ID Question (from 1 to 10), Question, Response 1 to Response 3 (3 choices possibles to respond) and Correct\_responses. There are 10 rows in this Quiz table.  
I’ve created a link between the 2 tables to lookup the options from Quiz because my form is based on Responses\_quiz.  
Thx

---

<div class="post-metadata">

**Author:** ![fk1214](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/fk1214/32/71058_2.png) [@fk1214](https://community.glideapps.com/u/fk1214)\
**Post date:** [April 10, 2025, 12:43pm UTC](https://community.glideapps.com/t/issue-on-a-quiz-page-to-compute-the-score/81264/5 "2025-04-10T12:43:16Z")

</div>

Couldn’t really understand too well, could you share some screenshots of your database?

---

<div class="post-metadata">

**Author:** ![charles\_ram](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/charles_ram/32/86999_2.png) [@charles\_ram](https://community.glideapps.com/u/charles_ram)\
**Post date:** [April 10, 2025, 12:47pm UTC](https://community.glideapps.com/t/issue-on-a-quiz-page-to-compute-the-score/81264/6 "2025-04-10T12:47:36Z")

</div>

My Responses\_quiz table :

![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/optimized/3X/d/d/ddaa2a51ce2c2052061da2a5eb343413ffcb995c_2_690x35.png)

My quizz table :

 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/0/1/01516810d9cef9a5c35005105315008a4787fcd1.png)

Thx

---

<div class="post-metadata">

**Author:** ![charles\_ram](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/charles_ram/32/86999_2.png) [@charles\_ram](https://community.glideapps.com/u/charles_ram)\
**Post date:** [April 10, 2025, 5:34pm UTC](https://community.glideapps.com/t/issue-on-a-quiz-page-to-compute-the-score/81264/7 "2025-04-10T17:34:05Z")

</div>

Any clue ?

---

<div class="post-metadata">

**Author:** ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)\
**Post date:** [April 11, 2025, 3:22pm UTC](https://community.glideapps.com/t/issue-on-a-quiz-page-to-compute-the-score/81264/8 "2025-04-11T15:22:23Z")

</div>

So you don’t want to wait until the “form” is submitted to show the user answers and whether they are correct or not?

What if a user see those and never submit anyway?
