monkfan has asked for the wisdom of the Perl Monks concerning the following question:
Dear Fellow Monks,
I have a simple CGI script that display the following checkboxes:
Is there a way to do this? I can't seem to achieve that using this snippet:
Regards,
Edward
I have a simple CGI script that display the following checkboxes:
Now what I want to do is that whenever I checked any boxes OTHER than '2 Fastest' e.g (MITRA, SPACE, and MEME) the box with '2 Fastest' should be automaticallly unabled/cancelled.[] 2 Fastest [] MITRA [] SPACE [] MEME
Is there a way to do this? I can't seem to achieve that using this snippet:
#Other part of scripts above strong('Basic Programs To Choose: '), br checkbox_group( -name => 'progname', -values => [ '2 Fastest', 'MITRA', 'SPACE', 'MEME', ], -rows => '2', -columns => '2', -disabled => [ '2 Fastest' ], ), p, # .. other parts of the script
Regards,
Edward
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Checking and Unchecking Checkboxes in CGI.pm
by dsheroh (Monsignor) on Aug 17, 2007 at 06:38 UTC | |
Re: Checking and Unchecking Checkboxes in CGI.pm
by misc (Friar) on Aug 17, 2007 at 14:21 UTC | |
Re: Checking and Unchecking Checkboxes in CGI.pm
by amarquis (Curate) on Aug 17, 2007 at 18:23 UTC |
Back to
Seekers of Perl Wisdom