Run a spell checker and if more than a certain percentage of words are
misspelled, then it's probably not english (high number.. like more than 60%
or 70% of words, not just a few).  You could even let them bypass it with an
option like "Yes, it is English, my spelling really is that bad".  :-)

We use ActivSpell and are very happy with it.
http://www.cfdev.com/spellcheck/

You can also filter out anything that has non-English characters (again,
should have a few non-english characters, not just one, but that's not going
to catch everything).

Sam

-----Original Message-----
From: Ciliotta, Mario [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 29, 2004 4:11 PM
To: CF-Talk
Subject: Strange request that English language only be entered in a textar
ea.

Hi,

Has anyone ever had to do this before.  I have CFMX page that contains a
series of drop down and one large textbox that my users can enter a
description of what is contained in their request.  The problem that I ma
having is that the form is used worldwide in my company and some users will
enter the description in their native language, ie French, German and so on.
The problem is that the form and the actual request are taken actioned by
staff in New York City and they do not understand the language.  My Audit
department has asked that it limit the textarea to English language only.

Is there a way to really do this.

Thanks
Mario
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

Reply via email to