Validate Textarea to accept only characters no special symbols or numbers.
I have been scratching my mind for couple of times to know how could i restrict a textarea to only accept character's A-Z. No special symbols like @#!| and numbers are allowed. When i give them it should be throw me an error message.
I tried few jquery implementations. But nothing works for me as i m not aware how to apply them.
Can some one help on how to acheive this.
Would be great.!
HTML5 sure is neat.
But you still cannot trust it. That assumes that an HTML form is used and obeys the pattern. Its pretty much the same with a preg_match though.
You can also use ctype_alpha which is also just a-z case insensitive.
|All times are GMT +1. The time now is 01:04 AM.|
Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.