Another way would be to setup an input event in your player blueprint, which checks if the player is currently in the chatbox and if that is the case execute the send function in your widget
it didn’t even tho I checked focused on the WB and the HUD itself, works only when focus is cleared from the WB, for instance I type something and press enter it does nothing, but when I click on the screen (else where then the WB itself) it sends the text.
so that way I want this to function is, when the widget doesn’t have focus and I press enter, it will focus the text box, and if I press enter again it sends the text and clear the focus from the text box.