Predetermined Text Box

Hi there,

I’m trying to figure out if it is possible to have an input text box contain a preexisting message. For example, when you press any key on the keyboard, each key that is pressed displays one character of the predetermined text (spaces included). Any help would be awesome.

Create a new Widget Blueprint

Add an Editable Text control

Add this blueprint to the newly created widget blueprint:

Next, include the widget blueprint somewhere or just simply attach it to the viewport and test it out.

Note that Exchange Text is a string variable that contains your text that you want exchanged and Text Input is the textbox you added to the widget.

Thank you so much! :smiley:

@mattran92 please mark this question as closed by accepting an answer this for further referencing if someone has the same issue as you

Thank you again for your help. Another quick question though. How would I go about resetting this with a button? So that it reverts back to its original state and you can repeat the sequence?