# Text Box commits when clicking outside of it

**URL:** <https://forums.unrealengine.com/t/text-box-commits-when-clicking-outside-of-it/419322>\
**Category:** UI\
**Tags:** text-box, unreal-engine, Widget, Blueprint, question, UMG\
**Created:** [March 8, 2018, 9:22pm UTC](https://forums.unrealengine.com/t/text-box-commits-when-clicking-outside-of-it/419322 "2018-03-08T21:22:10Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kony](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Kony](https://forums.unrealengine.com/u/Kony)\
**Post date:** [March 8, 2018, 9:22pm UTC](https://forums.unrealengine.com/t/text-box-commits-when-clicking-outside-of-it/419322/1 "2018-03-08T21:22:10Z")

</div>

I made a simple quiz where the player has to type a correct answer in the text box. I’ve set the “On committed” event, however, the text box detects every click outside of it as a “commit”. Is there any way to prevent it?

Is it possible to automatically start typing in the text box without a necessity to click on it?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_51938974](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_51938974](https://forums.unrealengine.com/u/anonymous_user_51938974)\
**Post date:** [December 15, 2020, 8:21am UTC](https://forums.unrealengine.com/t/text-box-commits-when-clicking-outside-of-it/419322/2 "2020-12-15T08:21:36Z")

</div>

And yet another question where I’m having the exact same issue, with absolutely no answer. This question was asked over 2 years ago, the last one was a year and a half.

Wonder if the next unanswered question will be from 3 years ago? 4? Any guesses?

---

<div class="post-metadata">

**Author:** ![SirAlax](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@SirAlax](https://forums.unrealengine.com/u/SirAlax)\
**Post date:** [February 16, 2025, 10:17pm UTC](https://forums.unrealengine.com/t/text-box-commits-when-clicking-outside-of-it/419322/3 "2025-02-16T22:17:57Z")

</div>

Hey, here I’m from the future. (@Kony) I personally do like this with the switch on method. See the example below. bye!

 ![committed method example](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/3/c/13c9872e60d2d154abe278df3e82d54ded5bb87c.png)
