VBpassion
asked on
Allow only english and arabic charachters in text box
Hello there
I'm developing a bi-lingual website and i have a form. My website is in english and arabic. In my form there are 5 textboxes. I want 3 text boxed to accept only english alphabets and others only arabic. This will help me to directly insert the data in the database table. So i english data will go to english field in my table and the arabic data will go to the arabic field in that table.
Does anybody know how to do that. SO basically, the english textbox should only accept english chars and arabic should only accept arabic...
Can anybody help??
I'm developing a bi-lingual website and i have a form. My website is in english and arabic. In my form there are 5 textboxes. I want 3 text boxed to accept only english alphabets and others only arabic. This will help me to directly insert the data in the database table. So i english data will go to english field in my table and the arabic data will go to the arabic field in that table.
Does anybody know how to do that. SO basically, the english textbox should only accept english chars and arabic should only accept arabic...
Can anybody help??
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thankyou so much LORDOFTHEPORT,
I helped me and showed me exactly as I wanted.
Regards
Mohsin iqbal
I helped me and showed me exactly as I wanted.
Regards
Mohsin iqbal
This may help you: http://www.codestyle.org/javascript/faq-HowTo.shtml
Cheers