Prevent Players from Entering Textboxes without Text

So I have a feedback option in my game that connects to a discord channel, but whenever players enter my game they just decide to enter nothing in the textbox and press enter and it sends. And its actually bugging me quite a bit. So how can I make it so the player needs to type a certain amount of characters so they can send an actual feedback message?

What I see in my discord channel.
image

2 Likes

You can use string.len on the text in textbox to see how many characters have been typed. So, if string.len(textbox’s text) <= 0 then we know that nothing has been typed into the textbox.