| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Using Javascript to confirm email address? | ||||
|
|
Thread Tools | Search this Thread |
#21
|
|||||||
|
|||||||
We've had several problems with the regular expression that checks if the email is valid --
I changed in skin1/check_email_script.tpl and skin1/check_gcemail_script.tpl, this line: New Code to replace old: Code:
The first reiteration of this check would not allow someone with a 2 character email to register (invalid email address for ed@somewhere.net) I tweaked it a little and then heard from a customer on RedHat Linux, Netscape 7.1, that it wouldn't allow her to register AND no error - the submit button just didn't do anything. I loaded up the browser on Fedora and sure enough, there was a javascript error. It worked fine in Netscape 7.1 on a Windows box ... weird. Anyway, the above will allow a 1 character email name, a 1 character domain (a.com if it existed) and ed@somewhere.ca can now register. Give yours a try on Linux with Netscape 7.1 if you can, or try to create a profile using a two character user name ... you may have the same problem.
__________________
Linux / Apache 1.3.31 PHP 4.3.3 MySQL 4.0.18 X-Cart 3.5.4 in production Mar 08, 2004 X-Cart 3.5.4 Win2k SP4 for development |
|||||||
#22
|
|||||||
|
|||||||
Thanks for the tips.
I didn't have problems registering a 2 character email address (perhaps they have modified the regex code since 3.5), but I'm unable to check the second problem involving Netscape 7.1. Definitely something to be aware of. Thanks.
__________________
X-Cart Gold 4.0.16, 4.0.17 X-AOM 4.0.16, 4.0.17 X-Affiliate 4.0.16, 4.0.17 |
|||||||
#23
|
|||||||
|
|||||||
email verification
Don't know if anyone monitors past threads but here goes...
I used this portion of code on a version 4.0.12 cart and while it works great - thanks so much - I wonder what all the other code in check_email_script.tpl that was replaced was doing. Was replacing all this code still the correct thing to do? Thanks in advance. Sunny
__________________
4.1.9 |
|||||||
#24
|
|||||||
|
|||||||
Re: Using Javascript to confirm email address?
Hi,
I know this is an old topic, but I wanted to write in to say THANK YOU to Boomer, Loon, and GM for supplying these mods with such straightforward instructions. This is a feature we've been dreaming of, and will be a huge help in accidental email address typos with our customers. More Egoods will now find their rightful owners. Thanks again!
__________________
Jim Tapspace Publications X-Cart Gold 4.0.19 web host: Lunarpages (linux) email host: Simplicato webstore: http://www.tapspace.com/store |
|||||||
#25
|
|||||||
|
|||||||
Re: Using Javascript to confirm email address?
Quote:
I can't seem to get this working any ideas what I might be doing wrong, I am quite new to Xcart but have been a web designer for some time. I have checked a few times and seem to be following everything fine. I don't see the extra field etc.
__________________
Version 4.3.1 |
|||||||
|
|||
X-Cart forums © 2001-2020
|