in reply to Re: Extracting selected values from HTML Select Menus
in thread Extracting selected values from HTML Select Menus

Well I could do, but forgive me for being dim, how would I then find out the selected value in Perl? Don't forget that I then want to use that value to either a:) open a file which correcpsonds to that value or b:)upload that file depending on whether the file exists already or not.
  • Comment on Re^2: Extracting selected values from HTML Select Menus

Replies are listed 'Best First'.
Re^3: Extracting selected values from HTML Select Menus
by bradcathey (Prior) on Mar 14, 2005 at 20:19 UTC

    Are you using CGI?

    HTML: <form action="filecheck.pl" method="post"> <select name="filename"> <option value=... </select> </form> PERL: use CGI; my $query = new CGI; my $filename = $query->param('filename'); do stuff....

    Am I tracking or not?


    —Brad
    "The important work of moving the world forward does not wait to be done by perfect men." George Eliot