PDA

View Full Version : Forms - email address verification


Wayne S.
05-27-03, 06:38 AM
Can someone suggest or point out to me a good method of checking the validity of an email address in a form? Most of the ones I've looked at have some flaw or another and/or are not universal enough for cross-browser compatability etc. I'm no script expert, so please be gentle.

Thanks!

net-trend
05-27-03, 06:45 AM
If you can code in Javascript, just add validations for a '@' and a '.'

Every single email address requires that.

If you have dreamweaver, there is an included form validation script for you to use that does what I stated above.

Wayne S.
05-28-03, 03:27 AM
Appreciate the suggestion, but it's one of many javascripts that I've tried & I still get a high incidence of invalid email addresses (for a newsletter subscription). I appreciate that there is no all encompassing one that can guarantee correctness, because there is such a diverse # of potential errors.

The only one that I've had better luck with (other than them sending an email me directly), is to have them enter their email address twice and then check one against the other.

It's not earth-shattering..just annoying. I find some people have a hard enough time spelling their names, let alone their email address. Or it could be just a lack of keyboarding skills. Or maybe I'm just unlucky and live in the company of a high preponderance on illiterates. I don't mean to be nasty - it's just that error trapping in creating forms has it's challanges. :banghead:

gx3n0
05-31-03, 02:11 PM
You can use PHP.

interactive
06-03-03, 09:34 PM
Just use PHP as gx3n0 suggested. Goto hotscripts.com and you'll find something that should work. By the way this should be moved to the Programming Forum.

allan
06-03-03, 10:45 PM
Moved to programming forum.