easiest way to check for a non-alphanumeric character?

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 35393
interpreted = N
texte = I want to restrict user-defined login strings to alphanumeric chars (no spaces or any other char outside of letters and numbers).I have this checking code so far: ('loginString' comes in via formvar input by the user as he attempts to define his login string.)**** [showif [URL][loginString][/URL]^%] [text show=F]StringValueError=T[/text] [/showif][showif [URL][loginString][/URL]^/] [text show=F]StringValueError=T[/text] [/showif][showif [URL][loginString][/URL]^.] [text show=F]StringValueError=T[/text] [/showif]*****Do I need more? I.e. is this enough to check for any possible non-alphanumeric char?-John ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: easiest way to check for a non-alphanumeric character? (John Butler 2000)
  2. Re: easiest way to check for a non-alphanumeric character? (Joseph D'Andrea 2000)
  3. easiest way to check for a non-alphanumeric character? (John Butler 2000)
I want to restrict user-defined login strings to alphanumeric chars (no spaces or any other char outside of letters and numbers).I have this checking code so far: ('loginString' comes in via formvar input by the user as he attempts to define his login string.)**** [showif [url][loginString][/URL]^%] [text show=F]StringValueError=T[/text] [/showif][showif [url][loginString][/URL]^/] [text show=F]StringValueError=T[/text] [/showif][showif [url][loginString][/URL]^.] [text show=F]StringValueError=T[/text] [/showif]*****Do I need more? I.e. is this enough to check for any possible non-alphanumeric char?-John ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/ John Butler

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

Automatic installation of WebDNA by hosting clients? (2005) [WriteFile] problems (1997) Pass a form (2003) [searchString] (1997) A quickie question (1997) I'm Baaaaaaaaaack - Questions! (2000) Saving [referrer] for later use (1997) Unexpected error (1997) Questions To Answer (1997) shipcost (1997) WebMerchant when CC network is down - bug? (1998) &summ=T >> numfound (2002) nesting limits? (1998) emailer on Windows Beta 18 (1997) RE: Problems reading files created by WC (1997) Migrating to NT (1997) Frames and WebCat (1997) shipping costs (1997) NT b19 sends extra MIME headers (1997) FW: 2.01 upgrade problems (1997)