fix this javascript code
var field = form.mpresent;
var mpre = parseInt(field.value);
if (!mpre) {
alert("You Must Enter Numeric Value In Members Present Value.");
field.focus();
field.select();
return false;
i had the above code in javascript and it is checking for numeric value to be entered in fiels box in a form but when i entered zero in the field it is poping out the error message but i dont want to give error when i enter zero.
How can i modify this code to check for only not numeric but not for zeroes.
Thanks
