HY!
i am using javascript to validate my form fields, and the below regular expression is not working, why? am i used the wrong way to match it?
var name=document.getElementById('first_name').value;
if (!name.match(/^[A-Za-z]*$/))
{
document.getElementById('error').innerHTML="Please match the regxp";
document.getElementById('first_name').focus();
return false;
}