From: Ivan Kohler Date: Fri, 25 Oct 2013 03:10:30 +0000 (-0700) Subject: selectable choice for arbitrary fields, RT#25623 X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=30ef568f955526b259892399ba7432dbfce46347;hp=bae67061ffa6fb64b94714adf50e272feb759f2d selectable choice for arbitrary fields, RT#25623 --- diff --git a/httemplate/edit/elements/svc_Common.html b/httemplate/edit/elements/svc_Common.html index 0d9d36c07..58af6bc83 100644 --- a/httemplate/edit/elements/svc_Common.html +++ b/httemplate/edit/elements/svc_Common.html @@ -117,6 +117,11 @@ $f->{'hashref'} = { 'classnum'=>$columndef->columnvalue }; + } elsif ( $flag eq 'S' ) { #selectable choice + $f->{type} = 'select'; + $f->{options} = [ split( /\s*,\s*/, + $columndef->columnvalue) + ]; } if ( $f->{'type'} eq 'select-svc_pbx'