prevent empty fields from disabling form