Currently, no matter if the inputs are validated or not, they get added to the table. While i want to check if all the input are valid and (with the pattern) then, if they a