# Edit Item in list

**URL:** <https://community.thunkable.com/t/edit-item-in-list/554275>\
**Category:** Questions about Thunkable X\
**Created:** [April 3, 2020, 5:44pm UTC](https://community.thunkable.com/t/edit-item-in-list/554275 "2020-04-03T17:44:58Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![huntermclarkn](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/huntermclarkn/32/66310_2.png) [@huntermclarkn](https://community.thunkable.com/u/huntermclarkn)\
**Post date:** [April 3, 2020, 5:44pm UTC](https://community.thunkable.com/t/edit-item-in-list/554275/1 "2020-04-03T17:44:58Z")

</div>

So for this app I will have a list of names that the user will create, and when they click on the name it will show them various information they have written about that name. What I am struggling with right now is how to edit that other information.

I’m not sure what blocks to use, I have tried using a change variable block but I don’t get the old variable to change fully or the app crashes.

I can’t create a link to the project right now as I keep getting an error message

---

<div class="post-metadata">

**Author:** ![jared](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/jared/32/138473_2.png) [@jared](https://community.thunkable.com/u/jared)\
**Post date:** [April 3, 2020, 5:46pm UTC](https://community.thunkable.com/t/edit-item-in-list/554275/2 "2020-04-03T17:46:50Z")

</div>

See my example here

> **[jaredgibb.xyz](http://jaredgibb.xyz/index.php/2020/03/29/sample-apps/)**
>
> This domain may be for sale!

 ![Screen Shot 2020-04-03 at 1.31.19 PM](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/7/b/7b8e6ad7f2cd48712a2932ead79f7764ca7b7fa4.png)

you could do what you are talking about here!

Could you share blocks of what you have tried already?

---

<div class="post-metadata">

**Author:** ![huntermclarkn](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/huntermclarkn/32/66310_2.png) [@huntermclarkn](https://community.thunkable.com/u/huntermclarkn)\
**Post date:** [April 3, 2020, 5:50pm UTC](https://community.thunkable.com/t/edit-item-in-list/554275/3 "2020-04-03T17:50:22Z")

</div>

I will, but I think the sever crashed! I keep getting an error 521 😆

At least it is down in London? idk if you are getting similar problem

---

<div class="post-metadata">

**Author:** ![jared](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/jared/32/138473_2.png) [@jared](https://community.thunkable.com/u/jared)\
**Post date:** [April 3, 2020, 5:53pm UTC](https://community.thunkable.com/t/edit-item-in-list/554275/4 "2020-04-03T17:53:02Z")

</div>

sorry ☹ weird. I’m in the states. I just loaded the link. worked fine for me.

---

<div class="post-metadata">

**Author:** ![domhnallohanlon](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/domhnallohanlon/32/29554_2.png) [@domhnallohanlon](https://community.thunkable.com/u/domhnallohanlon)\
**Post date:** [April 3, 2020, 7:20pm UTC](https://community.thunkable.com/t/edit-item-in-list/554275/5 "2020-04-03T19:20:15Z")

</div>

> [@huntermclarkn](#):
>
> I think the sever crashed!

Sorry about that - we were down for about 15 minutes or so at around 10:30 PST.

Everything should be back up and running for you now @huntermclarkn

---

<div class="post-metadata">

**Author:** ![jared](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/jared/32/138473_2.png) [@jared](https://community.thunkable.com/u/jared)\
**Post date:** [April 3, 2020, 7:59pm UTC](https://community.thunkable.com/t/edit-item-in-list/554275/6 "2020-04-03T19:59:20Z")

</div>

Here is how i display additional plan information in my flight tracker

see a video of the project in action. then see the blocks to make it happen  
[https://res.cloudinary.com/behaviorreportcard/video/upload/v1585943034/RPReplay\_Final1585930441\_usmu59.mp4](https://res.cloudinary.com/behaviorreportcard/video/upload/v1585943034/RPReplay_Final1585930441_usmu59.mp4)

first I throw all info into separate lists. each list is the same length meaning that spot 1 in each list is only information about the first thing and so on for each item

 ![Screen Shot 2020-04-03 at 3.36.17 PM](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/2/a/2ad314a09d61c7ab4cfa11d12c4f08fad91a4741.png)

then i add some of the info to map markers

 ![Screen Shot 2020-04-03 at 3.36.22 PM](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/9/2/92684d941120af69439ba04cc3a36f23ad6246bf.png)

and finally to display the extra info when a map marker is clicked because i only put half of the info from the lists above into the map marker.

 ![Screen Shot 2020-04-03 at 3.36.31 PM](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/6/d/6d853479ab8f1d04c85e38ac873f098b74a7c6b4.png)

---

<div class="post-metadata">

**Author:** ![huntermclarkn](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/huntermclarkn/32/66310_2.png) [@huntermclarkn](https://community.thunkable.com/u/huntermclarkn)\
**Post date:** [April 3, 2020, 9:39pm UTC](https://community.thunkable.com/t/edit-item-in-list/554275/7 "2020-04-03T21:39:40Z")

</div>

> [@domhnallohanlon](#):
>
> Sorry about that - we were down for about 15 minutes or so at around 10:30 PST.

No problem! it worked as a forced break which was a good thing! Im back up and thunking

> [@jared](#):
>
> Here is how i display additional plan information in my flight tracker
> 
> see a video of the project in action. then see the blocks to make it happen

Thank you so much Jared, I think I may be able to get a Successfully Thunked post going soon! In large part thanks to the help!!

---

<div class="post-metadata">

**Author:** ![huntermclarkn](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/huntermclarkn/32/66310_2.png) [@huntermclarkn](https://community.thunkable.com/u/huntermclarkn)\
**Post date:** [April 11, 2020, 9:19am UTC](https://community.thunkable.com/t/edit-item-in-list/554275/9 "2020-04-11T09:19:05Z")

</div>

So I went ahead and I have done a bit of a run around that works!!

So when I select an item on my list view I am going ahead and saving it as a new App variable. I will then use that Variable to populate an “edit screen” which acts like my add screen and will allow the user to edit as needed. Below are the blocks I used  
 ![Annotation 2020-04-11 095636](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/9/6/966b4e99833e794496c7abac41b8b80db5607002.jpeg)

![Annotation 2020-04-11 095724](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/e/7/e743aef741a9bcfc0c94ed01b9978f018f4c50a3.jpeg)

One thing I would be interested just as a parting note to this thread, is I am wondering how I would go about having the app itself remove the "edited"data. What I get now is My list viewer say with the name Rex. The user then goes in to edit that Rex is now a Neutered Male and when they return to the list viewer the user will see Rex and Rex. I figure it wouldn’t be too much to have the user delete the old file (may even help serve for records/if they made an error) but I was wondering if you guys had any insight as to how I might do that? I currently delete files as the code shows below, but if I duplicate the “From list remove # index” and put it on the first piece of code above, it doesn’t work out.

![Annotation 2020-04-11 100319](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/4/7/473030e83173a1d5ac89e40edd7fba42106580ba.jpeg)

---

<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, 11:39am UTC](https://community.thunkable.com/t/edit-item-in-list/554275/10 "2024-11-08T11:39:06Z")

</div>


