I have fresh install Magento 1.8.1.0, I set some countries to not required to enter post code on checkout page, the "*" sign is not display in frontend for those selected countries.
But After I clicked Continue without entering post code, I still get the javascript pop up alert saying ""Zip/Postal Code" is a required value."
I tried to change the post code field to
<label for="billing:postcode"><?php echo $this->__('Zip/Postal Code') ?></label>
<div class="input-box">
<input type="text" title="<?php echo $this->__('Zip/Postal Code') ?>" name="billing[postcode]" id="billing:postcode" value="<?php echo $this->escapeHtml($this->getAddress()->getPostcode()) ?>" class="input-text" />
</div>
But I still get pop up alert.
How to fix this?