Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: checkbox CGI

by benn (Priest)
on Aug 07, 2003 at 14:47 UTC ( #281908=note: print w/ replies, xml ) Need Help??


in reply to checkbox CGI

You could provide numbers as values, and your original values as labels, something like this...

my @metrics=`cat a.txt`; my %labels = map {$_=> $metrics[$_]} (0..$#metrics); print $q->checkbox_group(-name=>'a', -values=>[(0..$#metrics)], -labels=>\%labels);
Cheers, Ben.


Comment on Re: checkbox CGI
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://281908]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (6)
As of 2014-09-23 07:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (210 votes), past polls