# How to create a scorable survey

**URL:** https://community.thunkable.com/t/how-to-create-a-scorable-survey/1520150
**Category:** Questions about Thunkable X
**Tags:** beginner
**Created:** [September 22, 2021, 2:35pm UTC](https://community.thunkable.com/t/how-to-create-a-scorable-survey/1520150 "2021-09-22T14:35:29Z")
**Posts on this page:** 14
**Page:** 1

<div class="post-metadata">

### Author: ![cohoes41a8gy](https://avatars.discourse-cdn.com/v4/letter/c/a5b964/32.png) [@cohoes41a8gy](https://community.thunkable.com/u/cohoes41a8gy)
#### Post date: [September 22, 2021, 2:35pm UTC](https://community.thunkable.com/t/how-to-create-a-scorable-survey/1520150/1 "2021-09-22T14:35:29Z")

</div>

I’m trying to create a personal assessment app. There will be multiple questions, each with a choice of answers. Answers must be assigned different values so the a total can be generated at the end of the assessment. That total would then yield something like a Red/Yellow/Green score. Example would be a stress survey where a certain threshold (score), if exceeded, would generate a Red (you are very stressed out). I copied a quiz app to get started, but not sure how to change it so that there is no correct answer, just answers with scores attached to each. Thanks for any help.

---

<div class="post-metadata">

### Author: ![muneer](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/muneer/32/75210_2.png) [@muneer](https://community.thunkable.com/u/muneer)
#### Post date: [September 24, 2021, 7:51pm UTC](https://community.thunkable.com/t/how-to-create-a-scorable-survey/1520150/2 "2021-09-24T19:51:36Z")

</div>

Welcome to Thunkable.

Please show what you’ve tried so far and where you got stuck.

The community here are very supportive and will for certain help but they cannot start from nothing.

---

<div class="post-metadata">

### Author: ![cohoes41a8gy](https://avatars.discourse-cdn.com/v4/letter/c/a5b964/32.png) [@cohoes41a8gy](https://community.thunkable.com/u/cohoes41a8gy)
#### Post date: [October 20, 2021, 3:16pm UTC](https://community.thunkable.com/t/how-to-create-a-scorable-survey/1520150/3 "2021-10-20T15:16:46Z")

</div>

I’ve assigned scores to various answers throughout the app. This is a survey, so when a user clicks on a button matching a condition they wish to report, the app turns that button red and changes the variable “by 100”. I have set the initial variable number to “0.” The variable is a button. I do not know how to grab whatever value is in the button so that I can increase it by the value of the user-reported condition. I thought I didn’t have to do that with a “when, do” logic statement that commands “change [app variable score] by [100]”.

---

<div class="post-metadata">

### Author: ![muneer](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/muneer/32/75210_2.png) [@muneer](https://community.thunkable.com/u/muneer)
#### Post date: [October 20, 2021, 3:37pm UTC](https://community.thunkable.com/t/how-to-create-a-scorable-survey/1520150/4 "2021-10-20T15:37:20Z")

</div>

Can you show your blocks please?

---

<div class="post-metadata">

### Author: ![cohoes41a8gy](https://avatars.discourse-cdn.com/v4/letter/c/a5b964/32.png) [@cohoes41a8gy](https://community.thunkable.com/u/cohoes41a8gy)
#### Post date: [October 20, 2021, 4:12pm UTC](https://community.thunkable.com/t/how-to-create-a-scorable-survey/1520150/5 "2021-10-20T16:12:06Z")

</div>

I tried to cut and paste, but that doesn’t work. How shall i do that?

---

<div class="post-metadata">

### Author: ![tatiang](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tatiang/32/55482_2.png) [@tatiang](https://community.thunkable.com/u/tatiang)
#### Post date: [October 20, 2021, 4:16pm UTC](https://community.thunkable.com/t/how-to-create-a-scorable-survey/1520150/6 "2021-10-20T16:16:43Z")

</div>

You can take a screenshot and then drag it into a forum post.

You can also resize the image once it’s in the forum post:

> [@How to resize images & videos posted on the forums](https://community.thunkable.com/t/how-to-resize-images-videos-posted-on-the-forums/907937):
>
> It took me a while to realize I could do this so I’m sharing the method. When you drag an image from your computer into a new forum post window, you’ll see auto-generated text like this: In the preview on the right side of the window, you’ll see how large the image is (you might have to click the x to hide the related posts). To resize the image: Add a comma and percentage after the resolution values (e.g. ,50%):

---

<div class="post-metadata">

### Author: ![cohoes41a8gy](https://avatars.discourse-cdn.com/v4/letter/c/a5b964/32.png) [@cohoes41a8gy](https://community.thunkable.com/u/cohoes41a8gy)
#### Post date: [October 20, 2021, 4:25pm UTC](https://community.thunkable.com/t/how-to-create-a-scorable-survey/1520150/7 "2021-10-20T16:25:57Z")

</div>

![Screen Shot 2021-10-20 at 11.14.14 AM](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/4/b/4bd9cd96d0227bad66c18e11506e4cc6df63edcd.png)  
 ![Screen Shot 2021-10-20 at 12.22.00 PM](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/6/b/6b3acc7f6d87d1e5009429e19f7445da373309fc.png)

On the page where the app variable resides, I have no blocks. I’m assuming I have to define the button named Fatigue Score as a variable somewhere?

---

<div class="post-metadata">

### Author: ![muneer](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/muneer/32/75210_2.png) [@muneer](https://community.thunkable.com/u/muneer)
#### Post date: [October 20, 2021, 4:58pm UTC](https://community.thunkable.com/t/how-to-create-a-scorable-survey/1520150/8 "2021-10-20T16:58:02Z")

</div>

When you name an `app variable` with a name such as `Fatigue score`. This name will be the name of the variable and changing it will not effect the button even if the button is named `Fatigue score`.

If you want to change the text in the button you will do something like this  
 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/a/5/a50320698b7549dca2f0308916f032f4a9e3ed26.png)

or

![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/9/b/9be8aef5ac2c78300fff8916d7cb0a9c5eafdb26.png)

---

<div class="post-metadata">

### Author: ![cohoes41a8gy](https://avatars.discourse-cdn.com/v4/letter/c/a5b964/32.png) [@cohoes41a8gy](https://community.thunkable.com/u/cohoes41a8gy)
#### Post date: [October 20, 2021, 8:48pm UTC](https://community.thunkable.com/t/how-to-create-a-scorable-survey/1520150/9 "2021-10-20T20:48:49Z")

</div>

So I want the text in the button to be an initial value of “0”. With each click of a button somewhere else (like the example above for ASAP/ASR), I want the text to represent the new value. In the example, the variable would start at 0 with initialization, then change to 200 once that button is clicked. Everything else is working except for that one button representing score.

---

<div class="post-metadata">

### Author: ![cohoes41a8gy](https://avatars.discourse-cdn.com/v4/letter/c/a5b964/32.png) [@cohoes41a8gy](https://community.thunkable.com/u/cohoes41a8gy)
#### Post date: [October 20, 2021, 9:36pm UTC](https://community.thunkable.com/t/how-to-create-a-scorable-survey/1520150/10 "2021-10-20T21:36:42Z")

</div>

Let me re-state. Your example below might work.

 ![Screen Shot 2021-10-20 at 5.33.54 PM](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/b/a/bacf66139cf4bf6712a44feb16e054e4cc0f12a6.png)

The problem is that I cannot type in the name of the button who’s text I want to change. The button is on another page, so it doesn’t appear in the dropdown menu.

---

<div class="post-metadata">

### Author: ![tatiang](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tatiang/32/55482_2.png) [@tatiang](https://community.thunkable.com/u/tatiang)
#### Post date: [October 20, 2021, 9:54pm UTC](https://community.thunkable.com/t/how-to-create-a-scorable-survey/1520150/11 "2021-10-20T21:54:30Z")

</div>

If you want to change the value of a button’s text on a different screen, you will need to “pass” that value in a variable. Variables work across all screens. Whatever value you store on one screen will be available on another screen.

> **[Variables](https://docs.thunkable.com/variables)**

---

<div class="post-metadata">

### Author: ![cohoes41a8gy](https://avatars.discourse-cdn.com/v4/letter/c/a5b964/32.png) [@cohoes41a8gy](https://community.thunkable.com/u/cohoes41a8gy)
#### Post date: [October 20, 2021, 10:02pm UTC](https://community.thunkable.com/t/how-to-create-a-scorable-survey/1520150/12 "2021-10-20T22:02:17Z")

</div>

Thank you. The name of my variable is the same name as the button. I guess I am being confused by that.

---

<div class="post-metadata">

### Author: ![cohoes41a8gy](https://avatars.discourse-cdn.com/v4/letter/c/a5b964/32.png) [@cohoes41a8gy](https://community.thunkable.com/u/cohoes41a8gy)
#### Post date: [October 20, 2021, 10:08pm UTC](https://community.thunkable.com/t/how-to-create-a-scorable-survey/1520150/13 "2021-10-20T22:08:34Z")

</div>

Outstanding - thanks to you both. Got it.

---

<div class="post-metadata">

### Author: ![ioannis](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/ioannis/32/146956_2.png) [@ioannis](https://community.thunkable.com/u/ioannis)
#### Post date: [November 8, 2024, 1:15pm UTC](https://community.thunkable.com/t/how-to-create-a-scorable-survey/1520150/14 "2024-11-08T13:15:10Z")

</div>


