# Add object in list viewer when clicking on a button

**URL:** <https://community.thunkable.com/t/add-object-in-list-viewer-when-clicking-on-a-button/1215576>\
**Category:** Questions about Thunkable X\
**Tags:** list-viewer\
**Created:** [April 9, 2021, 8:44pm UTC](https://community.thunkable.com/t/add-object-in-list-viewer-when-clicking-on-a-button/1215576 "2021-04-09T20:44:16Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![pottergirlstechnovat](https://avatars.discourse-cdn.com/v4/letter/p/b19c9b/32.png) [@pottergirlstechnovat](https://community.thunkable.com/u/pottergirlstechnovat)\
**Post date:** [April 9, 2021, 8:44pm UTC](https://community.thunkable.com/t/add-object-in-list-viewer-when-clicking-on-a-button/1215576/1 "2021-04-09T20:44:16Z")

</div>

Hi, I have a question about list viewers.

In my app, I want to be able to add a text item in my list viewer when clicking on a button. I want the item to be named after a variable saved earlier in my app, which is a chapter title. If the person hasn’t named their chapter title yet, I want to item to be named Chapter + the number of the chapter. (ex. chapter 1 which is the first chapter etc.)

If anyone can explain the blocks to me, thank you!

---

<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:25pm UTC](https://community.thunkable.com/t/add-object-in-list-viewer-when-clicking-on-a-button/1215576/2 "2024-11-08T13:25:26Z")

</div>


