hey guys! hope everyone is doing well.
in my text input i want to make sure that the only thing the user can input is letters. I know how to do it manually by saying if text input text contain a or text input text contain b, etc. But is there another faster way to do this? Is there a block that say if text input text contains letters?
Create a variable and set its value to the text string “abcdefg…” (all the letters). If you need to, you can include uppercase letters as well.
Loop through each character in the text input’s text. If the variable does not contain the character, then they have entered an invalid input and you can exit the loop.