show required fields and give better error messages in cases where required fields are not present