Made some validations in submit.html