Radio Buttons in a Form

by Marc Heighway <Marc(at)marketing-matters.co.uk>

 Date:  Wed, 5 Jan 2000 10:51:00 -0000
 To:  hwg-techniques(at)hwg.org
  todo: View Thread, Original
I am really struggling with a Perl script.

I have a basic form with some radio buttons on.  Problem is I don't seem to
be able to get the selected radio button to be outputted to the email reply.
What am I doing wrong with the script - here is a sample from the code;


print MAIL "\nYes:\n";

print MAIL "$FORM{'Yes'}\n";

print MAIL "\nNo:\n";

print MAIL "$FORM{'No'}\n";

print MAIL "\nMaybe:\n";

print MAIL "$FORM{'Maybe'}\n";


These 3 buttons (values) are in a group (name) called Answer - should I have
referenced this somewhere above?



Any help is as always greatly appreciated.

Happy New Year,

Marc Heighway.

HWG hwg-techniques mailing list archives, maintained by Webmasters @ IWA

This page is part of a preserved archive of archives.hwg.org. The site is no longer active and its content is not maintained. For enquiries about this archive, write to archive(at)iwanet.org.