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 thedata source is a webpage)I found some Plug-N-Play javascripts just for this purpose atwww.infohiway.com and some other good javascripts on the order page forwww.sophisticated.com (for phone numbers) (not that I am suggesting that youuse other peoples code without permission, I am pointing these out foreducational 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:
>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 thedata source is a webpage)I found some Plug-N-Play javascripts just for this purpose atwww.infohiway.com and some other good javascripts on the order page forwww.sophisticated.com (for phone numbers) (not that I am suggesting that youuse other peoples code without permission, I am pointing these out foreducational 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:
Linux ODBC and the ODBC Bridge (2000)
RE: [isfolder] and [filename] (1997)
Is there an easier way? (1998)
WCS Newbie question (1997)
Re[2]: Next X hits (1996)
Using Plug-In while running 1.6.1 (1997)
updating the database (2000)
OK, here goes... (1997)
Emailer port change (1997)
[ShowNext] (1997)
Requiring that certain fields be completed (1997)
Emailer (1997)
authorizenet and netscape (2002)
WCS Newbie question (1997)
Sendmail (2000)
WebMerchant 3.0? (1998)
multiple search commands (1997)
Pithy questions on webcommerce & siteedit (1997)
Cart passing in Flash... (2001)
[referrer] tag (1997)