# Calling onSubmit() on UITextInput

**URL:** <https://forum.decentraland.org/t/calling-onsubmit-on-uitextinput/13158>\
**Category:** Support SDK\
**Created:** [July 15, 2022, 4:23pm UTC](https://forum.decentraland.org/t/calling-onsubmit-on-uitextinput/13158 "2022-07-15T16:23:48Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![bryan2j](https://avatars.discourse-cdn.com/v4/letter/b/9dc877/32.png) [@bryan2j](https://forum.decentraland.org/u/bryan2j)\
**Post date:** [July 15, 2022, 4:23pm UTC](https://forum.decentraland.org/t/calling-onsubmit-on-uitextinput/13158/1 "2022-07-15T16:23:49Z")

</div>

Hello. I have an issue with the onSubmit() method after entering text into a textfield input. onSubmit() is triggered by the enter key, but the enter key is also a shortcut to open the chat ui. This overrides the onSubmit() method. Any ideas?
