Canadian Postal Code Validation
Hi,
It seems that, at least for me, the validation for Canadian Postal Codes is not working as intended. Valid postal codes are being rejected as wrong.
Is this a known issue?
Hi,
It seems that, at least for me, the validation for Canadian Postal Codes is not working as intended. Valid postal codes are being rejected as wrong.
Is this a known issue?
It looks like the server validation is not being applied correctly. Its validating for UK postal code when Canada postal code is chosen.
Find this function call in the code that should looks similar to this:
WAValidateZC((isset($_POST["fieldset_group_field"])?$_POST["fieldset_group_field"]:"") . "",false,false,false,true,false,1);
Replace the 3rd false with true and the true with false. It should end up looking something like this:
WAValidateZC((isset($_POST["fieldset_group_field"])?$_POST["fieldset_group_field"]:"") . "",false,false,true,false,false,1);
Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.
These out-of-the-box solutions provide you proven, tested applications that can be up and running now. Build a store, a gallery, or a web-based email solution.