The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

HTML::Widget::Plugin::Multiselect - widget for multiple selections from a list

VERSION

version 0.055

 $Id: Multiselect.pm 28249 2007-02-28 20:48:46Z rjbs $

DESCRIPTION

This plugin provides a select-from-list widget that allows the selection of multiple elements.

METHODS

provided_widgets

This plugin provides the following widgets: multiselect

multiselect

This method returns a multiple-selection-from-list widget. Yup.

In addition to the generic HTML::Widget::Plugin attributes and the HTML::Widget::Plugin::Select attributes, the following are valid arguments:

size

This is the number of elements that should be visible in the widget.

make_option

This method, subclassed from the standard select widget, expects that $value will be an array of selected values.

validate_value

This method checks whether the given value option is valid. It throws an exception if the given values are not all in the list of options.

AUTHOR

Ricardo SIGNES <rjbs @ cpan.org>

COPYRIGHT

Copyright (C) 2005, Ricardo SIGNES. This is free software, released under the same terms as perl itself.