i am new in programming i want to do validation but
other code in my ff.js file like code for checking the empty field is working
but the below one for checking numeric fields not working
ph_r2 is text field where i want to enter the numeric only since it is for phone no
if (!isNum(document.frmemp.ph_r2.value))
{
alert("Pl Enter Numeric Values")
document.frmemp.ph_r2.focus();
return false;
}

p. help