options(); $hasOptions = is_array($fieldOptions) && count($fieldOptions); $listId = $hasOptions ? $field->getId() . '-list' : null; ?>