Rose::HTML::Form::Field::Option

Rose::HTML::Form::Field::Option is Perl bject representation of the "option" HTML tag.

SYNOPSIS

 $field =
 Rose::HTML::Form::Field::Option->new(
 value => 'apple',
 label => 'Apple');

 $field->selected(1);

 print $field->html;

 ...

Rose::HTML::Form::Field::Option is an object representation of a single option in a pop-up menu or select box in an HTML form.

This class inherits from, and follows the conventions of, Rose::HTML::Form::Field. Inherited methods that are not overridden will not be documented a second time here. See the Rose::HTML::Form::Field documentation for more information.