# How to clear an Editable TextBox

**URL:** <https://forums.unrealengine.com/t/how-to-clear-an-editable-textbox/1857289>\
**Category:** Blueprint\
**Tags:** UE-5, unreal-engine, UE5, question, UE503\
**Created:** [May 15, 2024, 2:12pm UTC](https://forums.unrealengine.com/t/how-to-clear-an-editable-textbox/1857289 "2024-05-15T14:12:44Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Skyboy](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Skyboy](https://forums.unrealengine.com/u/Skyboy)\
**Post date:** [May 15, 2024, 2:12pm UTC](https://forums.unrealengine.com/t/how-to-clear-an-editable-textbox/1857289/1 "2024-05-15T14:12:44Z")

</div>

Hey there, I’m having one of those minutes where my brain stops.

I type into the editable text box, It gives me text which is great, and then I use a button to add the text.

But If I want to add another, When I reopen the editable text box, the text is still there. Which makes sense, But any of my normal Methods of clearing text Don’t seem to work.

I’m surprised there’s not just a “Clear Text” Node or something.

Any help would be great.

I could remove from parent and remake it every time, I guess. Just feels fumbly when I could just clear it.

Update: I take it back, Remove from parent actually with a delegate system actually fixed alot of things

---

<div class="post-metadata">

**Author:** ![IrSoil](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@IrSoil](https://forums.unrealengine.com/u/IrSoil)\
**Post date:** [May 15, 2024, 3:00pm UTC](https://forums.unrealengine.com/t/how-to-clear-an-editable-textbox/1857289/2 "2024-05-15T15:00:29Z")

</div>

> I’m surprised there’s not just a “Clear Text” Node or something.

Indeed, but anyway - `SetText("")` should do the job aswell.

---

<div class="post-metadata">

**Author:** ![Skyboy](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Skyboy](https://forums.unrealengine.com/u/Skyboy)\
**Post date:** [May 15, 2024, 4:32pm UTC](https://forums.unrealengine.com/t/how-to-clear-an-editable-textbox/1857289/3 "2024-05-15T16:32:17Z")

</div>

Interesting, I did try “set text” a bunch for a while in a few different areas and couldn’t figure it out. It’s like the Editable box would overwrite the empty set text node every time.

That’s good to know, though, I must of been messing it up somewhere.

Thanks.

---

<div class="post-metadata">

**Author:** ![Happynash](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Happynash](https://forums.unrealengine.com/u/Happynash)\
**Post date:** [December 10, 2024, 4:24pm UTC](https://forums.unrealengine.com/t/how-to-clear-an-editable-textbox/1857289/4 "2024-12-10T16:24:15Z")

</div>

Hey,  
Use → SetText(FText::GetEmpty());

Greetings
