Page 1 of 1

E-mail Validation

Posted: Fri Jul 13, 2012 9:54 am
by vashts1980
I've been running into problems where the customers have been entering typos into the e-mail address, and when their data gets sent to the back-end ERP software it chokes on the malformed e-mail address. Would anyone happen to know of a good e-mail validation algorithm and where the best place in AbleCommerce to impliment it would be?

I'm also considering placing an e-mail verification (i.e. "Re-enter you e-mail address") field in, as well, to help with this problem.

Re: E-mail Validation

Posted: Fri Jul 13, 2012 10:28 am
by mazhar
Have a look at this thread viewtopic.php?f=47&t=8575 Not sure if that code still works with the latest versions. Hopefully it will help you. You can try to compare the mod files against your version of files to figureout the required changes.

Re: E-mail Validation

Posted: Fri Jul 13, 2012 10:48 am
by vashts1980
Hmmm...

That's an interesting strategy. I'll have to see if the big guy would be willing to have that done. However, I do believe something is in place for handling customers that don't want to create an account on the site and I would also need to be able to address them, too.