With all the new top level domains available now (), you are better with a
regex that matches by size, instead of adding specific strings beyond 3 or
4 characters.
Just change the {2,4} to something like {2,254}, which should fairly
future proof the regex.
I believe the RFC for DNS has a
I would avoid IsValid() it is not reliable and has been blogged about.
try this
https://github.com/teamcfadvance/ValidateThis
On Thu, Jan 15, 2015 at 2:48 PM, Rob Voyle robvo...@voyle.com wrote:
Hi Folks
Using CF11
isValid(email,name@gmail) is returning a Yes
Am I missing something or
You might want to look at Mailgun -
http://www.mailgun.com/email-validation
they have jquery implementation (https://github.com/mailgun/validator-demo)
/S
Ben mailto:b...@webworldinc.com
January 15, 2015 at 9:35 AM
Given how often TLDs are changing is there a way in CF to do a
isValid(email,name@gmail) is returning a Yes
Am I missing something or is this a bug. As far as I know CF9 would have
returned NO
Well, it's not really a bug. Within certain contexts, that would in
fact be a valid email address. It obviously wouldn't be a valid email
address on a public
Given how often TLDs are changing is there a way in CF to do a verification
that the domain name exists? That would seem simpler.
Ben
On Jan 15, 2015, at 10:06 AM, Byron Mann byronos...@gmail.com wrote:
With all the new top level domains available now (), you are better with a
regex
DNS lookup might suffice just to verify the domain is valid (ie,
registered).
~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive:
I had similar issues with this... use the script below instead of CF. You
can do an onBlur=validateEmail(); on the email field.
function validateEmail(){
var emailRegEx =
/^([a-zA-Z0-9_\.\-])+\@(([a-zA-Z0-9\-])+\.)+([a-zA-Z0-9]{2,4})+$/;
str =
Thanks Robert
Your code limits TLD to 4 which would catch .museum
What are people setting as a limit on TLDs
Rob
On 15 Jan 2015 at 9:53, Robert Harrison wrote:
I had similar issues with this... use the script below instead of
CF. You
can do an onBlur=validateEmail(); on the email field.
Thanks,
I'm aware. You can change that if you'd like, but so far from the 200 plus
sites I've done, I've never has a .museum address. It could happen; someone
does the museum sites :-)
If you want another that uses CF and allows museum, you could try the
function below... someone on the list
9 matches
Mail list logo