Check if there are some errors on the form.
If there are none we proceed further.