e questo, onSubmit="return checkData()", come ti e' gia' stato detto, va nel <form>