in reply to Calling a radio button to the second cgi script

What is the problem you observe?

Some general tips, CGI Help Guide, Troubleshooting Perl CGI scripts, Ovid's CGI Course, DebugCGI, FormValidator::Simple, other validators, http://validator.w3.org/

I also recommend standardizing on UTF-8, see Tutorials: perlunitut: Unicode in Perl, perluniintro/perlunitut, Perl Unicode Essentials

  • Comment on Re: Calling a radio button to the second cgi script

Replies are listed 'Best First'.
Re^2: Calling a radio button to the second cgi script
by SuzieB (Initiate) on Jun 12, 2012 at 03:12 UTC
    Hi Anonymous Monk, the problem I am having is that the radio button selection from mystore.html is not displaying on the mystore2.cgi

      Hi Anonymous Monk, the problem I am having is that the radio button selection from mystore.html is not displaying on the mystore2.cgi

      You can see everything that gets sent to mystore2.cgi if you add a call to sub DebugCGI , that ought to be very illuminating :)

      Giving http://validator.w3.org/ a copy of mystore.html ought to be equally as enlightening :)

      Like the others mention, your form html is probably to blame, if you look at http://search.cpan.org/dist/CGI/MANIFEST you can see what kind of html CGI.pm's radio_group function generates -- the output can be a source of known-good html for you to copy/paste

      You should also call escapeHTML before printing those raw value you get from param()