How can I pass a variable to the radio button?
print $query->radio_group(-name=>"$dir",
-default=>'',
-linebreak=>'',
-labels=>\%labels);
This passes the variable but also markes the first button as checked.
print $query->radio_group(-name=>'$dir',
-default=>'',
-linebreak=>'',
-labels=>\%labels);
This leaves the radio button unchecked, but changes the variable to the characters $dir.
I would appreciate any advice you can give me.
Thanks!
Bob Seymour
seymour10@llnl.gov