# Deleting/clearing text in search field

**URL:** <https://forum.adalo.com/t/deleting-clearing-text-in-search-field/15058>\
**Category:** Design\
**Created:** [July 18, 2021, 8:27pm UTC](https://forum.adalo.com/t/deleting-clearing-text-in-search-field/15058 "2021-07-18T20:27:01Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![jlanyontx](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/jlanyontx/32/9151_2.png) [@jlanyontx](https://forum.adalo.com/u/jlanyontx)\
**Post date:** [July 18, 2021, 8:27pm UTC](https://forum.adalo.com/t/deleting-clearing-text-in-search-field/15058/1 "2021-07-18T20:27:01Z")

</div>

My search field on my list search page retains the text from the last time I searched. Is there any way to cache that text out or have the app clear the text once the user exits that page?

---

<div class="post-metadata">

**Author:** ![Ash1](https://avatars.discourse-cdn.com/v4/letter/a/8c91f0/32.png) [@Ash1](https://forum.adalo.com/u/Ash1)\
**Post date:** [July 18, 2021, 8:28pm UTC](https://forum.adalo.com/t/deleting-clearing-text-in-search-field/15058/2 "2021-07-18T20:28:54Z")

</div>

I believe you can add an action to update the input or search box and leave it as empty or set a default value

---

<div class="post-metadata">

**Author:** ![James\_App\_Maker](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/james_app_maker/32/37288_2.png) [@James\_App\_Maker](https://forum.adalo.com/u/James_App_Maker)\
**Post date:** [July 18, 2021, 8:51pm UTC](https://forum.adalo.com/t/deleting-clearing-text-in-search-field/15058/3 "2021-07-18T20:51:50Z")

</div>

Hi James,

@Ash1 is correct. This is how you would do it.

![image](https://us1.discourse-cdn.com/flex020/uploads/adalo/original/2X/9/901c1db4c8802cb855fcced1a772801d528d0a0d.png)

In Native Apps, (Apple App Store & Google Play Store) this shouldn’t happen. 🙂

---

<div class="post-metadata">

**Author:** ![jlanyontx](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/jlanyontx/32/9151_2.png) [@jlanyontx](https://forum.adalo.com/u/jlanyontx)\
**Post date:** [July 18, 2021, 8:53pm UTC](https://forum.adalo.com/t/deleting-clearing-text-in-search-field/15058/4 "2021-07-18T20:53:35Z")

</div>

Thank you both. It says “Search Term” not input on the field but I think it’s the same.

 ![Screen Shot 2021-07-18 at 3.52.52 PM](https://us1.discourse-cdn.com/flex020/uploads/adalo/original/2X/2/2903c74f35dc96e90b6e4a7b597e72fd934c5bc4.png)

---

<div class="post-metadata">

**Author:** ![jlanyontx](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/jlanyontx/32/9151_2.png) [@jlanyontx](https://forum.adalo.com/u/jlanyontx)\
**Post date:** [July 18, 2021, 8:54pm UTC](https://forum.adalo.com/t/deleting-clearing-text-in-search-field/15058/5 "2021-07-18T20:54:13Z")

</div>

Thanks Ash! Appreciate the quick response.

---

<div class="post-metadata">

**Author:** ![James\_App\_Maker](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/james_app_maker/32/37288_2.png) [@James\_App\_Maker](https://forum.adalo.com/u/James_App_Maker)\
**Post date:** [July 18, 2021, 8:54pm UTC](https://forum.adalo.com/t/deleting-clearing-text-in-search-field/15058/6 "2021-07-18T20:54:24Z")

</div>

Yes, its the same. The “Input” name is the name of the input you are clearing.
