Magento: Zip code validation allows only numeric & hyphen


function zip_val (zip)
{
if (!(/^[0-9-]+$/.test(zip))) {
return false;
}
return true;
}

Note: You will know more about Magento & Download latest version of Magento from http://www.magentocommerce.com/
Magento: Zip code validation allows only numeric & hyphen Magento: Zip code validation allows only numeric & hyphen Reviewed by Web Technology Funda on 11:32:00 PM Rating: 5

No comments

Free! Free!Free! Subscribe to Get Free PHP (Magento) tutorial Update in Your Inbox!!! Hurry Up!!!