473,320 Members | 1,969 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Only English is Allowed

Hi there,

I need to create a asp page with fields like FirstName, LastName etc.
But this 2 fields only allow the user to enter english characters, no
chinese, no jap.. nothing else..

What is there that i must do to disable users from entering character other
then English??

Thanx lotz..

RegarDx..


Jun 9 '06 #1
5 2110
=?Utf-8?B?c2lMdmVy?= wrote on 09 jun 2006 in
microsoft.public.inetserver.asp.general:
I need to create a asp page with fields like FirstName, LastName etc.
But this 2 fields only allow the user to enter english characters, no
chinese, no jap.. nothing else..

What is there that i must do to disable users from entering character
other then English??


There are no "English characters",
unless you are one,
dear =?Utf-8?B?c2lMdmVy?=.

--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)
Jun 9 '06 #2
Hmm.. what i mean is to restrict users from entering chinese characrter etc.
So I only allow the user to enter English characters.

Is there any ways to 'disabled' the UTF8 etc. entry?

Thanx

RegarDx..

"Evertjan." wrote:
=?Utf-8?B?c2lMdmVy?= wrote on 09 jun 2006 in
microsoft.public.inetserver.asp.general:
I need to create a asp page with fields like FirstName, LastName etc.
But this 2 fields only allow the user to enter english characters, no
chinese, no jap.. nothing else..

What is there that i must do to disable users from entering character
other then English??


There are no "English characters",
unless you are one,
dear =?Utf-8?B?c2lMdmVy?=.

--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)

Jun 12 '06 #3
You could use client-side JS and have it query an array on each key press,
but that seems a tad over-kill and unreliable

Alternatively, RegEx is capable of this, and example code is all over the
place if you're not already familiar with it. Would need to be done after
the forms submission though ....

--
Regards

Steven Burn
Ur I.T. Mate Group
www.it-mate.co.uk

Keeping it FREE!

"siLver" <si****@discussions.microsoft.com> wrote in message
news:C7**********************************@microsof t.com...
Hmm.. what i mean is to restrict users from entering chinese characrter etc. So I only allow the user to enter English characters.

Is there any ways to 'disabled' the UTF8 etc. entry?

Thanx

RegarDx..

"Evertjan." wrote:
=?Utf-8?B?c2lMdmVy?= wrote on 09 jun 2006 in
microsoft.public.inetserver.asp.general:
I need to create a asp page with fields like FirstName, LastName etc.
But this 2 fields only allow the user to enter english characters, no
chinese, no jap.. nothing else..

What is there that i must do to disable users from entering character
other then English??


There are no "English characters",
unless you are one,
dear =?Utf-8?B?c2lMdmVy?=.

--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)

Jun 12 '06 #4
Thanx for reply.. but i reali had no idea what's RegEx thot there is alot of
examples but it will be had for me to keep track or modify my site in future.
As i reali had no single idea how RegEx works.. N i don't have time to go
pick-up RegEx now..

Any idea how the JS should look like.. if i could used a JS to get the
result i need..

Thanx lotz..

"Steven Burn" wrote:
You could use client-side JS and have it query an array on each key press,
but that seems a tad over-kill and unreliable

Alternatively, RegEx is capable of this, and example code is all over the
place if you're not already familiar with it. Would need to be done after
the forms submission though ....

--
Regards

Steven Burn
Ur I.T. Mate Group
www.it-mate.co.uk

Keeping it FREE!

"siLver" <si****@discussions.microsoft.com> wrote in message
news:C7**********************************@microsof t.com...
Hmm.. what i mean is to restrict users from entering chinese characrter

etc.
So I only allow the user to enter English characters.

Is there any ways to 'disabled' the UTF8 etc. entry?

Thanx

RegarDx..

"Evertjan." wrote:
=?Utf-8?B?c2lMdmVy?= wrote on 09 jun 2006 in
microsoft.public.inetserver.asp.general:

> I need to create a asp page with fields like FirstName, LastName etc.
> But this 2 fields only allow the user to enter english characters, no
> chinese, no jap.. nothing else..
>
> What is there that i must do to disable users from entering character
> other then English??

There are no "English characters",
unless you are one,
dear =?Utf-8?B?c2lMdmVy?=.

--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)


Jun 12 '06 #5
If you want help with javascript, try one of the javascript groups.
comp.language.javascript
microsoft.public.scripting.jscript
although they are likely to recommend clientside regular expressions.

I suggest that you look at RegExp. It's included in VBScript
http://msdn.microsoft.com/library/de...ting051099.asp
and is easier to pick up than using ADO, IMHO. Your original post was
made days ago. You could have been an expert in it by now :-)

--
Mike Brind

siLver wrote:
Thanx for reply.. but i reali had no idea what's RegEx thot there is alot of
examples but it will be had for me to keep track or modify my site in future.
As i reali had no single idea how RegEx works.. N i don't have time to go
pick-up RegEx now..

Any idea how the JS should look like.. if i could used a JS to get the
result i need..

Thanx lotz..

"Steven Burn" wrote:
You could use client-side JS and have it query an array on each key press,
but that seems a tad over-kill and unreliable

Alternatively, RegEx is capable of this, and example code is all over the
place if you're not already familiar with it. Would need to be done after
the forms submission though ....

--
Regards

Steven Burn
Ur I.T. Mate Group
www.it-mate.co.uk

Keeping it FREE!

"siLver" <si****@discussions.microsoft.com> wrote in message
news:C7**********************************@microsof t.com...
Hmm.. what i mean is to restrict users from entering chinese characrter

etc.
So I only allow the user to enter English characters.

Is there any ways to 'disabled' the UTF8 etc. entry?

Thanx

RegarDx..

"Evertjan." wrote:

> =?Utf-8?B?c2lMdmVy?= wrote on 09 jun 2006 in
> microsoft.public.inetserver.asp.general:
>
> > I need to create a asp page with fields like FirstName, LastName etc.
> > But this 2 fields only allow the user to enter english characters, no
> > chinese, no jap.. nothing else..
> >
> > What is there that i must do to disable users from entering character
> > other then English??
>
> There are no "English characters",
> unless you are one,
> dear =?Utf-8?B?c2lMdmVy?=.
>
> --
> Evertjan.
> The Netherlands.
> (Please change the x'es to dots in my emailaddress)
>



Jun 12 '06 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: iuz | last post by:
----- ENGLISH VERSION FOLLOWS AT THE END OF THE MESSAGE ----- usando la funzione mkdir riesco a creare una cartella xxx che ha come utente e proprietario 'apache' il problema si presenta quando...
27
by: Curious Angel | last post by:
I have a resume in PDF format and I want anyone who LEFT-OR-RIGHT clicks the link to force the file to be saved, and in any event _not_ opened. Since the PDF will be in his cache in any event, I...
18
by: OrenFlekser | last post by:
Hi I've posted this message couple of days ago, but I can't find it now, so sorry if you see it twice... Anyways - I have a text box, and I want my users to be able to write only in english...
8
by: baustin75 | last post by:
Posted: Mon Oct 03, 2005 1:41 pm Post subject: cannot mail() in ie only when debugging in php designer 2005 -------------------------------------------------------------------------------- ...
5
by: el_roachmeister | last post by:
I am working on a spider script but I only want to parse english pages. Is there a way I can check to see what language the content is in? I suppose I could restrict my spider to just .com , .org,...
21
by: Bigorre.Edouardd | last post by:
bonjour, j'ai une erreur de compilage qui me revient souvent qui est : "undefined reference ", il s'agit d'un probleme de librairie. Je voulais savoir comment on faisait pour incorporer des...
1
by: ESPNSTI | last post by:
Hi, I'd like to be able to distinguish between a DateTime variable that is allowed to hold both date and time and a DateTime variable that is allowed to only hold a Date. The reason's for this...
3
by: Mark A | last post by:
DB2 for LUW fixpack 11. If I create a SP with only a select (no insert, updates, or deletes), and do NOT use MODIFIES SQL DATA clause in the SP, the column SQL_DATA_ACCESS in SYSCAT.ROUTINES is...
0
by: bvdb | last post by:
Hi Everyone, One of my customers lives in Taiwan and can only make my program work if he changes his Regional and Language Options to English from the Simplifies Chinese that his computer is...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.