empty form submitted while having required fields