
I have a textbox that will contain a potential Team Name. I want to check the text before being able to go to the next screen.
If the team name text contains emojis (👍😊👌👏🐱🏍etc) I want to display a label saying no emoji's and disable the "next" button.
How do I detect emoji's in the text?
Thanks
Hi @Dahcjo ,
The below formula will return true if the text in the first argument only contains letters, numbers or spaces:
IsMatch(
"Team Name",
"^[A-Za-z0-9\s]*$"
)
You can use this for the Visible property of the warning label and to disable the button by setting its' DisplayMode property to:
If(
IsMatch(
"Team Name",
"^[A-Za-z0-9\s]*$"
),
DisplayMode.Edit,
DisplayMode.Disabled
)