Only submit the form if it is valid
Some styling