- or download this
$field =
Rose::HTML::Form::Field::SelectBox->new(
...
$field->input_value([ 1, 3 ]);
print $field->html;
- 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>
- or download this
$form = Rose::HTML::Form->new;
...
# Initialize the fields based on params
$form->init_fields();
- or download this
print $form->start_html,
$form->field('whatever')->html,
...
$form->end_html;
- or download this
[% form.start_html %]
[% form.field('whatever').html %]
...
[% form.end_html %]