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:
MacOS alias identification? (1998)
[OT] md5 or sha-1 on OSX (2007)
Only charge card when product shipped ? (1997)
os 8.5 (1999)
Quit revisited (1997)
SKU lookup (1997)
Moving files from one server to another... (2001)
PCS Emailer's role ? (1997)
Database Upload (2000)
DON'T use old cart file! (1997)
Next X hits (1996)
[WebDNA] WebDNA Health Monitor (2014)
[ModDate] & [ModTime] ? (1997)
convert characters (2003)
Available Server Space? (2004)
Canada oh Canada (2004)
syntax question, not in online refernce (1997)
Problem with [math] (2000)
Copyright ? (1997)
Dubble Sku's in a Database (1999)