Use ez_is_field_empty instead of field.value