[html-formfu] Adding attributes to customized select box
kewei xiao
kewei.xiao at nald.ca
Thu Jul 19 16:41:18 GMT 2007
Hi Carl
I am trying to add "style=display:none" in my customized select box,
but I am not sure where I should put it.
here is the code snippet:
$self->form->element( {
type => 'select',
name => 'subcountry_id',
id => 'subcountry_id',
label_loc => "$subcountry_type:",
options => ( [ {}, map { {
'label' => $_->name,
'value' => $_->subcountry_id }
} $country->subcountries->all ] ) }
Ke Wei
More information about the HTML-FormFu
mailing list