validating for numeric form input