Added error msg if a field on the form is empty