Hi! Still working on my social media app as usual. I showed some of my friends my app and they found out they could add special characters to their usernames. How do I prevent this?
You’ll need to use what we call a “custom form” (not a form screen) to check if they’re entering special characters. I might actually use a “hybrid form” for this.
I’ll see if I can find an example of something I did recently.
This will most likely help. I wanna make sure that this can prevent every single symbol besides dots or underscores.
Then you have to make sure you can get a regex snippet that works, or specify all characters that shouldn’t be there (a long way to go).