Disallow Characters In Inputs

Want to let users know that they can't use spaces, special characters, numbers, or anything else in an input using a custom error message?
Here's a resource for you! Simply add the code, customize the attribute, and you're good to go!