To show an error when the user inputs with a space, you can set it up like this:
Where the condition for the error looks like this:
(just hit space once in the right hand side of the condition)
To remove the space on user input, you set up an action on the “On Value Change” event handler that looks like this:



