I know this is simple but...
How do I limit the number of characters a string can contain without a space. In other words, I have spambots placing long gibberish strings in a form, and they never include spaces. I need to be able to detect if the field has only one word of 12 characters in a row without a space. If there are two words, one of them can have 12 characters.
I also need to detect whether a field has numbers instead of letters.
Thanks.