Code: Select all
document.forms[0].onsubmit = function()
{
if(this.elements['tax_id'].value.length < 9 || this.elements['tax_id'].value.match([^[:digit:]]))
{alert('Tax ID information is incorrect.')
return false;
}Moderator: General Moderators
Code: Select all
document.forms[0].onsubmit = function()
{
if(this.elements['tax_id'].value.length < 9 || this.elements['tax_id'].value.match([^[:digit:]]))
{alert('Tax ID information is incorrect.')
return false;
}