added better validation on the table submit form