Incomplete values error when submitting the form