Form submits without required fields