![]() |
zip code check
Hi,
Im looking at check_zipcode_js.tpl and havent got a clue how to do this. What I need is to change the default 5 digit code check to a between 5 and 9 digit check (no more 9 digits) this is the code below Code:
{* $Id: check_zipcode_js.tpl,v 1.2.2.2 2004/09/15 12:01:47 max Exp $ *} I don't want to remove the check as is suggested in other posts, just extend it so that US and Canadian have to be between 5 - 9 digits. Any ideas? |
Try this one:
Code:
{* $Id: check_zipcode_js.tpl,v 1.2.2.2 2004/09/15 12:01:47 max Exp $ *} |
Thanks, I was looking for something like this. Worked a treat :D
|
Didn't work for me im afraid, it allowed users to use even just 1 digit for the zip code.
|
I would like to take this to even a next step - I just encountered this problem today - not for the first time.
Sometimes my customer get a little over-zealous in filling out their order forms and by way of example, type in Marietta, CA with a zip code of 30062 - well it turns out that the state should have been Georgia, not California. My old e-Commerce software had a checker for this issue - would be nice for XCart to do this... |
All times are GMT -8. The time now is 11:00 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.