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:
[FEATURE REQUEST] (2004)
Grep Problems (2005)
memory in high traffic servers (2004)
QuitFeedback & DBNotOpened errors (1997)
Partner Edition question ... (2003)
WebCat2b13MacPlugin - [math][date][/math] problem (1997)
Nesting WebDNA in JavaScript (2003)
Comparing two fields so the match (1998)
Pithy questions on webcommerce & siteedit (1997)
RE: [WebDNA] WebSite Examples (2008)
BUG in [showif] using ^ (contains) (1997)
Tip: Image Maps (Server-Side) with WebCatalog (1997)
Can't get appendfile to work (1997)
Status of variable hierarchy changes? (2000)
OT : javascript form filling (2000)
New command suggestion (1997)
WebCatalog2 Feature Feedback (1996)
Bug? (1997)
WebCat2 several catalogs? (1997)
Date search - yes or no (1997)