function($with_script = 1)
{
$s = $this->html();
if ( !empty($s) ){
if ( BBN_IS_DEV ){
$title = str_replace('"', '', print_r (bbn\Str::makeReadable($this->cfg), true));
}
else if ( isset($this->attr['title']) ){
$title = $this->attr['title'];
}
else{
$title = isset($this->label) ? $this->label : '';
}
if ( !isset($this->cfg['field']) || $this->cfg['field'] !== 'hidden' ){
$s = ''.$s.'';
}
}
return $s;
}