checking that field has values