Rose::HTML::Form::Field::SelectBoxObject representation of a select box in an HTML form. | |
Download |
Rose::HTML::Form::Field::SelectBox Ranking & Summary
Advertisement
- License:
- Perl Artistic License
- Price:
- FREE
- Publisher Name:
- John C. Siracusa
- Publisher web site:
- http://search.cpan.org/~jsiracusa/
Rose::HTML::Form::Field::SelectBox Tags
Rose::HTML::Form::Field::SelectBox Description
Object representation of a select box in an HTML form. Rose::HTML::Form::Field::SelectBox is an object representation of a select box in an HTML form.SYNOPSIS $field = Rose::HTML::Form::Field::SelectBox->new(name => 'fruits'); $field->options(apple => 'Apple', orange => 'Orange', grape => 'Grape'); print $field->value_label('apple'); # 'Apple' $field->input_value('orange'); print $field->internal_value; # 'orange' $field->multiple(1); $field->add_value('grape'); print join(',', $field->internal_value); # 'grape,orange' $field->has_value('grape'); # true $field->has_value('apple'); # false print $field->html; ...Rose::HTML::Form::Field::SelectBox is an object representation of a select box field 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. Requirements: · Perl
Rose::HTML::Form::Field::SelectBox Related Software