I am validating a form in Dreamweaver using JavaScript. I would like a user to only enter a numeric value in a text field.
i.e.
if (IsNumeric(document.calcform.SqFt.value) == ""
{
alert ( "Please enter in the approximate Square Footage of you house." );
document.calcform.SqFt.focus();
valid = false;
return;
thanx for any help
i.e.
if (IsNumeric(document.calcform.SqFt.value) == ""
{
alert ( "Please enter in the approximate Square Footage of you house." );
document.calcform.SqFt.focus();
valid = false;
return;
thanx for any help