Blank forms submitted when required fields are empty