# How to get a random text to be pulled out of a data source, then displayed on the screen

**URL:** <https://community.thunkable.com/t/how-to-get-a-random-text-to-be-pulled-out-of-a-data-source-then-displayed-on-the-screen/2071524>\
**Category:** Questions about Thunkable X\
**Created:** [October 6, 2022, 7:25am UTC](https://community.thunkable.com/t/how-to-get-a-random-text-to-be-pulled-out-of-a-data-source-then-displayed-on-the-screen/2071524 "2022-10-06T07:25:37Z")\
**Posts on this page:** 20\
**Page:** 2

<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 8, 2022, 7:11am UTC](https://community.thunkable.com/t/how-to-get-a-random-text-to-be-pulled-out-of-a-data-source-then-displayed-on-the-screen/2071524/24 "2022-10-08T07:11:02Z")

</div>

In that case, I would assign a variable to the list of values in your challenges column of your data source.

Use that list to get and remove a random row. That way, the data source itself isn’t changed. Only the variable (list) is.

---

<div class="post-metadata">

**Author:** ![leviocsmithk](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/leviocsmithk/32/136645_2.png) [@leviocsmithk](https://community.thunkable.com/u/leviocsmithk)\
**Post date:** [October 8, 2022, 9:53am UTC](https://community.thunkable.com/t/how-to-get-a-random-text-to-be-pulled-out-of-a-data-source-then-displayed-on-the-screen/2071524/25 "2022-10-08T09:53:46Z")

</div>

Like This?

 ![Screen Shot 2022-10-08 at 7.53.36 pm](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/7/a/7a72a80773f1f7f87d292821dc240103ddae0c6e.png)

---

<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 8, 2022, 4:33pm UTC](https://community.thunkable.com/t/how-to-get-a-random-text-to-be-pulled-out-of-a-data-source-then-displayed-on-the-screen/2071524/26 "2022-10-08T16:33:43Z")

</div>

No. You need to ignore the `random item` block. Because it just gets a value… it doesn’t change the data source or list and it also doesn’t let you know which item it chose.

Take a look at my screenshot and replace the `number of rows` block with the `list of values` block for your list. Replace the `get property of object` blocks with `get list item #` blocks.

And then remove the `delete row` block. Instead, use a `get and remove` list block.

---

<div class="post-metadata">

**Author:** ![leviocsmithk](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/leviocsmithk/32/136645_2.png) [@leviocsmithk](https://community.thunkable.com/u/leviocsmithk)\
**Post date:** [October 9, 2022, 1:38am UTC](https://community.thunkable.com/t/how-to-get-a-random-text-to-be-pulled-out-of-a-data-source-then-displayed-on-the-screen/2071524/27 "2022-10-09T01:38:21Z")

</div>

Can you show me where the list of values block is please, I can’t find it.

---

<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 9, 2022, 2:41am UTC](https://community.thunkable.com/t/how-to-get-a-random-text-to-be-pulled-out-of-a-data-source-then-displayed-on-the-screen/2071524/28 "2022-10-09T02:41:24Z")

</div>

You have them in your screenshot!

That block is in the Data Sources drawer.

---

<div class="post-metadata">

**Author:** ![leviocsmithk](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/leviocsmithk/32/136645_2.png) [@leviocsmithk](https://community.thunkable.com/u/leviocsmithk)\
**Post date:** [October 9, 2022, 3:54am UTC](https://community.thunkable.com/t/how-to-get-a-random-text-to-be-pulled-out-of-a-data-source-then-displayed-on-the-screen/2071524/29 "2022-10-09T03:54:12Z")

</div>

Ok, Lol, sorry I am blind haha. I will try that 😀

---

<div class="post-metadata">

**Author:** ![leviocsmithk](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/leviocsmithk/32/136645_2.png) [@leviocsmithk](https://community.thunkable.com/u/leviocsmithk)\
**Post date:** [October 9, 2022, 4:31am UTC](https://community.thunkable.com/t/how-to-get-a-random-text-to-be-pulled-out-of-a-data-source-then-displayed-on-the-screen/2071524/30 "2022-10-09T04:31:27Z")

</div>

Where Is the get list item block?

---

<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 9, 2022, 4:46am UTC](https://community.thunkable.com/t/how-to-get-a-random-text-to-be-pulled-out-of-a-data-source-then-displayed-on-the-screen/2071524/31 "2022-10-09T04:46:18Z")

</div>

It’s a list block so it’s in the List drawer. See this:

> **[Lists](https://docs.thunkable.com/lists#get)**

---

<div class="post-metadata">

**Author:** ![leviocsmithk](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/leviocsmithk/32/136645_2.png) [@leviocsmithk](https://community.thunkable.com/u/leviocsmithk)\
**Post date:** [October 9, 2022, 4:53am UTC](https://community.thunkable.com/t/how-to-get-a-random-text-to-be-pulled-out-of-a-data-source-then-displayed-on-the-screen/2071524/32 "2022-10-09T04:53:21Z")

</div>

I still can’t find it, can you send me a screenshot of what it looks like, sorry. Thunkable should at a feature where you can search for blocks lol.

Thanks, Levi

---

<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 9, 2022, 7:04am UTC](https://community.thunkable.com/t/how-to-get-a-random-text-to-be-pulled-out-of-a-data-source-then-displayed-on-the-screen/2071524/33 "2022-10-09T07:04:37Z")

</div>

The screenshot is in the link I posted right above. Were you able to access that?

---

<div class="post-metadata">

**Author:** ![leviocsmithk](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/leviocsmithk/32/136645_2.png) [@leviocsmithk](https://community.thunkable.com/u/leviocsmithk)\
**Post date:** [October 9, 2022, 7:09am UTC](https://community.thunkable.com/t/how-to-get-a-random-text-to-be-pulled-out-of-a-data-source-then-displayed-on-the-screen/2071524/34 "2022-10-09T07:09:55Z")

</div>

I had a look through the link you sent me but there were now pictures of the list item block.

---

<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 9, 2022, 7:13am UTC](https://community.thunkable.com/t/how-to-get-a-random-text-to-be-pulled-out-of-a-data-source-then-displayed-on-the-screen/2071524/35 "2022-10-09T07:13:16Z")

</div>

## This block:

 ![Screen Shot 2022-10-09 at 12.11.06 AM](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/d/1/d160ad718bceabdc51af174ec3fde273314a28db.png)

## Can be found here:

 ![Screen Shot 2022-10-09 at 12.12.20 AM](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/f/b/fb85d34360a3685200c0e564fbf8260167eb8a63.png)

---

<div class="post-metadata">

**Author:** ![leviocsmithk](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/leviocsmithk/32/136645_2.png) [@leviocsmithk](https://community.thunkable.com/u/leviocsmithk)\
**Post date:** [October 9, 2022, 8:06am UTC](https://community.thunkable.com/t/how-to-get-a-random-text-to-be-pulled-out-of-a-data-source-then-displayed-on-the-screen/2071524/36 "2022-10-09T08:06:48Z")

</div>

Cool, Thank you for that. Many Thanks, Levi 🙂

---

<div class="post-metadata">

**Author:** ![leviocsmithk](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/leviocsmithk/32/136645_2.png) [@leviocsmithk](https://community.thunkable.com/u/leviocsmithk)\
**Post date:** [October 9, 2022, 8:22am UTC](https://community.thunkable.com/t/how-to-get-a-random-text-to-be-pulled-out-of-a-data-source-then-displayed-on-the-screen/2071524/37 "2022-10-09T08:22:16Z")

</div>

Does this look correct, I feel like something is wrong with it. Thanks, Levi

 ![Screen Shot 2022-10-09 at 6.16.51 pm](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/5/4/5415d8e9f5b47f1d4fa12fd1103d12f780411a0f.png)

---

<div class="post-metadata">

**Author:** ![leviocsmithk](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/leviocsmithk/32/136645_2.png) [@leviocsmithk](https://community.thunkable.com/u/leviocsmithk)\
**Post date:** [October 9, 2022, 9:50am UTC](https://community.thunkable.com/t/how-to-get-a-random-text-to-be-pulled-out-of-a-data-source-then-displayed-on-the-screen/2071524/38 "2022-10-09T09:50:24Z")

</div>

I think I have done the “get and remove” list block wrong.

---

<div class="post-metadata">

**Author:** ![leviocsmithk](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/leviocsmithk/32/136645_2.png) [@leviocsmithk](https://community.thunkable.com/u/leviocsmithk)\
**Post date:** [October 9, 2022, 9:53am UTC](https://community.thunkable.com/t/how-to-get-a-random-text-to-be-pulled-out-of-a-data-source-then-displayed-on-the-screen/2071524/39 "2022-10-09T09:53:08Z")

</div>

Would that be in the Data sources section or the list section?

---

<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 9, 2022, 3:44pm UTC](https://community.thunkable.com/t/how-to-get-a-random-text-to-be-pulled-out-of-a-data-source-then-displayed-on-the-screen/2071524/40 "2022-10-09T15:44:31Z")

</div>

Try this:

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/c/6/c6f74c05aca764f1f5c7559a2711f8140b30f232.png)

---

<div class="post-metadata">

**Author:** ![leviocsmithk](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/leviocsmithk/32/136645_2.png) [@leviocsmithk](https://community.thunkable.com/u/leviocsmithk)\
**Post date:** [October 9, 2022, 9:16pm UTC](https://community.thunkable.com/t/how-to-get-a-random-text-to-be-pulled-out-of-a-data-source-then-displayed-on-the-screen/2071524/41 "2022-10-09T21:16:34Z")

</div>

Ok Thanks, I will try that today,  
Many Thanks, Levi

---

<div class="post-metadata">

**Author:** ![leviocsmithk](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/leviocsmithk/32/136645_2.png) [@leviocsmithk](https://community.thunkable.com/u/leviocsmithk)\
**Post date:** [October 10, 2022, 6:50am UTC](https://community.thunkable.com/t/how-to-get-a-random-text-to-be-pulled-out-of-a-data-source-then-displayed-on-the-screen/2071524/42 "2022-10-10T06:50:49Z")

</div>

Does this look good.

 ![Screen Shot 2022-10-10 at 4.48.33 pm](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/2/9/297e52b0e3f7ec110c0ac9bc4e17b8590d226a6e.png)

I think every thing is correct, but can you just check that everything Is correct?

Many Thanks, Levi.

---

<div class="post-metadata">

**Author:** ![leviocsmithk](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/leviocsmithk/32/136645_2.png) [@leviocsmithk](https://community.thunkable.com/u/leviocsmithk)\
**Post date:** [October 10, 2022, 6:58am UTC](https://community.thunkable.com/t/how-to-get-a-random-text-to-be-pulled-out-of-a-data-source-then-displayed-on-the-screen/2071524/43 "2022-10-10T06:58:36Z")

</div>

I just tested it and thunkable says "Something has gone wrong. Check your blocks and reset this page. "

[Previous page](https://community.thunkable.com/t/how-to-get-a-random-text-to-be-pulled-out-of-a-data-source-then-displayed-on-the-screen/2071524.md?page=1)

[Next page](https://community.thunkable.com/t/how-to-get-a-random-text-to-be-pulled-out-of-a-data-source-then-displayed-on-the-screen/2071524.md?page=3)
