Avoids sending batch form if inputs validation is not correct.