Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: checkbox CGI

by benn (Vicar)
on Aug 07, 2003 at 14:47 UTC ( [id://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.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (3)
As of 2024-04-25 21:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found