Hi Eric,
> -Original Message-
>
>$html .= $cgi->popup_menu(-name => 'id', -values => \%terms);
>
> where:
>
>-name is the name of the parameter I want returned
>-values is a reference to a hash containing id and value pairs.
>
> The problem is that -values is a hash, and whe
Eric,
$html .= $cgi->popup_menu(-name => 'id', -values => \%terms);
where:
-name is the name of the parameter I want returned
-values is a reference to a hash containing id and value pairs.
The problem is that -values is a hash, and when CGI.pm displays the
pop-up menu the items do not come
Is there any way to use CGI.pm and still have option items sorted in
pop-up menus?
CGI.pm provides cook ways to create HTML form. To create a pop-up menu,
I can do something like this:
# create a hash of terms
my @terms = MyLibrary::Term->get_terms(sort => 'name');
my %