This is pretty basic but it works.
function isEmail(str) {
return ((str != "") && (str.indexOf("@") != -1) && (str.indexOf(".")
!= -1));
---------- Original Message ----------------------------------
From: "Robert Orlini" <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Date: Wed, 6 Feb 2002 13:01:35 -0500
Hello,
Anyone out there have a simple email verification script in CF? I need
to make sure customers input the full and correct syntax of their email
address before they submit a form.
Thanks.
______________________________________________________________________
Why Share?
Dedicated Win 2000 Server � PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
Instant Activation � $99/Month � Free Setup
http://www.pennyhost.com/redirect.cfm?adcode=coldfusionc
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists