in reply to Re: Calling a radio button to the second cgi script
in thread Calling a radio button to the second cgi script

Hi Anonymous Monk, the problem I am having is that the radio button selection from mystore.html is not displaying on the mystore2.cgi
  • Comment on Re^2: Calling a radio button to the second cgi script

Replies are listed 'Best First'.
Re^3: Calling a radio button to the second cgi script
by Anonymous Monk on Jun 12, 2012 at 07:03 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

    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()