Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
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 making s'mores by the fire in the courtyard of the Monastery: (2)
As of 2016-02-06 21:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How many photographs, souvenirs, artworks, trophies or other decorative objects are displayed in your home?





    Results (236 votes), past polls