From: Ivan Kohler Date: Fri, 25 Oct 2013 03:10:28 +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=50c2e50db2999c61db1c1c72ae416482ef370d99 selectable choice for arbitrary fields, RT#25623 --- diff --git a/httemplate/edit/elements/svc_Common.html b/httemplate/edit/elements/svc_Common.html index 321c68545..64484eba0 100644 --- a/httemplate/edit/elements/svc_Common.html +++ b/httemplate/edit/elements/svc_Common.html @@ -121,6 +121,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'