{if condition="isset($customfields) && count($customfields)>0"} {volist name="customfields" id="v"} {if condition="$v.type eq 'text'"}