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

_______________________________________________
HTML-FormFu mailing list
HTML-FormFu@lists.scsys.co.uk
http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/html-formfu

Reply via email to