Help for this page

Select Code to Download


  1. or download this
    $field = 
      Rose::HTML::Form::Field::SelectBox->new(
    ...
    $field->input_value([ 1, 3 ]);
    
    print $field->html;
    
  2. or download this
    <select multiple name="whatever" size="3">
    <option selected value="1">1</option>
    ...
    <option selected value="3">3</option>
    <option value="Three">Three</option>
    </select>
    
  3. or download this
    $form = Rose::HTML::Form->new;
    
    ...
    
    # Initialize the fields based on params
    $form->init_fields();
    
  4. or download this
    print $form->start_html,
          $form->field('whatever')->html,
          ...
          $form->end_html;
    
  5. or download this
    [% form.start_html %]
    [% form.field('whatever').html %]
    ...
    [% form.end_html %]