Restricting the number of allowed digits in an answer?
I have a game in UE4 that requires the player to enter a correct number for each question. There are about 10 spaces to make room for answers of varying lengths. The problem I am having is that a player can enter the correct answer in the first few spaces and then enter however many numbers they want after that and still get it right. So, if the answer is 12 they can put 1257899 and still get the answer right. So is there a way to restrict the correct answer to just the correct number but still allow for answers of varying lengths depending on the question?
(comments are locked)

I just made a macro in my UMG Blueprint to do that. This also restricts people from inputting anything other than numbers. The last is the textbox text bound to a function.
(comments are locked)

Follow this question
Once you sign in you will be able to subscribe for any updates here
Hi SierraP,
Would it be possible to get some more information regarding how you set up your Slate edit text box (I'm assuming your using this) and how you are doing the answer checking?
Cheers,
So it is kind of a confusing system, but here are some images of the code and what it looks like.