Re: verify email address

This WebDNA talk-list message is from

1998


It keeps the original formatting.
numero = 17778
interpreted = N
texte = >Does someone have a good solution to check the syntax of email addresses >after user input? > >I have a working piece of code now but I'm not happy with it. It runs >through the address with [getchars] and does a lookup for each character in >a database to find out wether it is allowed or not. And It checks the >presence of @ and a dot. >Now, while making this better, it grows and grows... I would have to add >two or three sets of characters for different platforms. And I want to >check for multiple @, for trailing dots, and so on - long code for a >rather simple task. I wonder if I am on the right way - any ideas? >Maybe there is a hidden feature [ValidEmail] which works like [ValidCard]...;-)I am beginning to believe this is a task best left to JavaScript (if the data source is a webpage) I found some Plug-N-Play javascripts just for this purpose at www.infohiway.com and some other good javascripts on the order page for www.sophisticated.com (for phone numbers) (not that I am suggesting that you use other peoples code without permission, I am pointing these out for educational purposes only...) Brian B. Burton BOFH - Department of Redundancy Department --------------------------------------------------------------- MMT Solutions - Specializing in Online Shopping Solutions 973-808-8644 http://www.safecommerce.com Associated Messages, from the most recent to the oldest:

    
  1. Re: verify email address (Brian B. Burton 1998)
  2. verify email address (Peter Ostry 1998)
  3. RE: How to verify email address (Marc Eagle 1997)
  4. How to verify email address (Rob Schmidt 1997)
  5. How to verify email address (Rob Schmidt 1997)
  6. How to verify email address (Rob Schmidt 1997)
>Does someone have a good solution to check the syntax of email addresses >after user input? > >I have a working piece of code now but I'm not happy with it. It runs >through the address with [getchars] and does a lookup for each character in >a database to find out wether it is allowed or not. And It checks the >presence of @ and a dot. >Now, while making this better, it grows and grows... I would have to add >two or three sets of characters for different platforms. And I want to >check for multiple @, for trailing dots, and so on - long code for a >rather simple task. I wonder if I am on the right way - any ideas? >Maybe there is a hidden feature [ValidEmail] which works like [validcard]...;-)I am beginning to believe this is a task best left to JavaScript (if the data source is a webpage) I found some Plug-N-Play javascripts just for this purpose at www.infohiway.com and some other good javascripts on the order page for www.sophisticated.com (for phone numbers) (not that I am suggesting that you use other peoples code without permission, I am pointing these out for educational purposes only...) Brian B. Burton BOFH - Department of Redundancy Department --------------------------------------------------------------- MMT Solutions - Specializing in Online Shopping Solutions 973-808-8644 http://www.safecommerce.com Brian B. Burton

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:

Prevent multiple appends with Reload Button (1997) how to know the [LineIndex] number webcat generated during a [AddLineItem]? (2000) Was cart limit-- Limits (2002) Help! WebCat2 bug (1997) WebCatalog Mac and cgi-bin (WebSTAR 2.0) (1997) converting characters in form (1997) Help name our technology! (1997) [isfile] ? (1997) Setting up WebCatalog with Retail Pro data (1996) SQL Support in 6.0 (2004) Text data with spaces in them... (1997) Trouble with carts (2000) [format xs] freeze (1997) Question about replacing words (1998) RE: NewCart+Search with one click ? (1997) New cart in ShoppingCarts (2003) FoundItems and punctuation (2000) 3.0 [TEXT] variables (1998) can WC render sites out? (1997) Re:What file? (1997)