forcing users to use English language
-
Hi I need to force users to write in and fill forms using "English". And they cant be able to change language by pressing "Alt+ Shift". thanks a lot for your helps... :)
-
Hi I need to force users to write in and fill forms using "English". And they cant be able to change language by pressing "Alt+ Shift". thanks a lot for your helps... :)
Now that's all very nice, but you forgot to ask a question. Regards, Manfred
"I had the right to remain silent, but I didn't have the ability!"
Ron White, Comedian
-
Hi I need to force users to write in and fill forms using "English". And they cant be able to change language by pressing "Alt+ Shift". thanks a lot for your helps... :)
This would be tricky. If you just want to ensure script used is English, it is easy. Just scan every character in the input and make sure all the characters are valid English letters. But user can write another language using the English script. Detecting this would be tough and you need to use some natural language processing libraries.
Best wishes, Navaneeth
-
Hi I need to force users to write in and fill forms using "English". And they cant be able to change language by pressing "Alt+ Shift". thanks a lot for your helps... :)
-
Hi I need to force users to write in and fill forms using "English". And they cant be able to change language by pressing "Alt+ Shift". thanks a lot for your helps... :)
a simple way is in textbox keypress event! check if user pressed alt or shift , show a messagebox and inform to user that he/she cant use this feature :) and if user changed language before activating textbox, you can check first charecter with textchanged event, if it is a charecter belong to persian (for example) ... with a message box say to user must change his/her language first :)
-
Hi I need to force users to write in and fill forms using "English". And they cant be able to change language by pressing "Alt+ Shift". thanks a lot for your helps... :)