# \[Solved\] Resetting elements on a screen after leaving it

**URL:** <https://community.thunkable.com/t/solved-resetting-elements-on-a-screen-after-leaving-it/1905883>\
**Category:** Questions about Thunkable X\
**Tags:** screen\
**Created:** [June 1, 2022, 10:51am UTC](https://community.thunkable.com/t/solved-resetting-elements-on-a-screen-after-leaving-it/1905883 "2022-06-01T10:51:06Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![t.radinger4hmo](https://avatars.discourse-cdn.com/v4/letter/t/71e660/32.png) [@t.radinger4hmo](https://community.thunkable.com/u/t.radinger4hmo)\
**Post date:** [June 1, 2022, 10:51am UTC](https://community.thunkable.com/t/solved-resetting-elements-on-a-screen-after-leaving-it/1905883/1 "2022-06-01T10:51:06Z")

</div>

Hi,

I have a screen on my app that displays a photo together with its location on a map. It also includes an input field (type your date here) and a label (Searching for photo/Found found).

Ideally, I would like the screen components to be re-set after the user navigates to another screen. How do I best do this?

I included a block “When screen opens”, and then setting the components to empty or their original content. It works for the label, but not for the input field and not for the image which should be empty.

Any hints would be much appreciated!  
Thanks a lot in advance.

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/7/b/7b234858845b3a31e124dc6e8cc8e0cb36aa5b79.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:** [June 1, 2022, 1:43pm UTC](https://community.thunkable.com/t/solved-resetting-elements-on-a-screen-after-leaving-it/1905883/2 "2022-06-01T13:43:53Z")

</div>

In the `when Map Opens` block, you reset the Text Input’s Hint but not the Text Input’s Text which would need to be set to an empty string (""). You are also setting MapImage’s Picture to “sunset.png” which is not an empty image. So you’d need to change that as well.

---

<div class="post-metadata">

**Author:** ![t.radinger4hmo](https://avatars.discourse-cdn.com/v4/letter/t/71e660/32.png) [@t.radinger4hmo](https://community.thunkable.com/u/t.radinger4hmo)\
**Post date:** [June 1, 2022, 2:20pm UTC](https://community.thunkable.com/t/solved-resetting-elements-on-a-screen-after-leaving-it/1905883/3 "2022-06-01T14:20:59Z")

</div>

Great, thanks, @tatiang! It works for the label now. For the image, is there a specific block for an image? I tried using “null”, but it didn’t work. Or do I need to look for an empty image on the web as a URL?

---

<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:** [June 1, 2022, 2:30pm UTC](https://community.thunkable.com/t/solved-resetting-elements-on-a-screen-after-leaving-it/1905883/4 "2022-06-01T14:30:58Z")

</div>

I believe you can use " " (a text block containing a space). Either that or an empty string ("").

---

<div class="post-metadata">

**Author:** ![t.radinger4hmo](https://avatars.discourse-cdn.com/v4/letter/t/71e660/32.png) [@t.radinger4hmo](https://community.thunkable.com/u/t.radinger4hmo)\
**Post date:** [June 1, 2022, 3:46pm UTC](https://community.thunkable.com/t/solved-resetting-elements-on-a-screen-after-leaving-it/1905883/5 "2022-06-01T15:46:09Z")

</div>

Yes, that worked! Thanks again!

![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/1/4/14246ec0cd2e9ac9cb7256cd7ce918f84f41386c.png)

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/0/f/0f59f292712368bce16ff80133ae10de8a6f27e8.png) [@system](https://community.thunkable.com/u/system)\
**Post date:** [August 30, 2022, 3:46pm UTC](https://community.thunkable.com/t/solved-resetting-elements-on-a-screen-after-leaving-it/1905883/6 "2022-08-30T15:46:45Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
