What? That makes no sense. You really need to get a better handle at the HTML that is generated by CGI. Both scrolling_list and popup_menu produce and HTML select list. The only difference between the two are scrolling_list allows multiple selects and scrolling_list lets you set the size of the window.
produces:#!/usr/bin/perl use strict; use warnings; use CGI qw/:standard/; print popup_menu( -name => 'color_pm', -values => [ 'red', 'green', 'blue', 'chartreuse' ] ), "\n\n", scrolling_list( -name => 'color_sl', -values => [ 'red', 'green', 'blue', 'chartreuse' ], -size => 3, -multiple => 'true' );
so if your window *gets huge" pass the appropriate options to reduce its size.<select name="color_pm" > <option value="red">red</option> <option value="green">green</option> <option value="blue">blue</option> <option value="chartreuse">chartreuse</option> </select> <select name="color_sl" size="3" multiple="multiple"> <option value="red">red</option> <option value="green">green</option> <option value="blue">blue</option> <option value="chartreuse">chartreuse</option> </select>
In reply to Re^5: How to select many times from a drop down menu in the same form
by derby
in thread How to select many times from a drop down menu in the same form
by Nik
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |