in reply to Re: submit button fails to pass the values using perl cgi?
in thread submit button fails to pass the values using perl cgi?

This node falls below the community's threshold of quality. You may see it by logging in.
  • Comment on Re^2: submit button fails to pass the values using perl cgi?

Replies are listed 'Best First'.
Re^3: submit button fails to pass the values using perl cgi?
by huck (Prior) on Mar 30, 2017 at 10:31 UTC
    I dont know what you are doing, what do you mean by I had checked with inspect element for above code.

    but this is the source of what i get back after selecting west.
    Popup1:West<br> <form method="post" action="/wx-bin/testsessions.pl" enctype="multipar +t/form-data"> <br> &nbsp<B>Sort</B> &nbsp<select name="popup1" > <option value="Building">Building</option> <option value="Nepal">Nepal</option> <option selected="selected" value="West">West</option> <option value="Landmark">Landmark</option> </select>&nbsp &nbsp &nbsp &nbsp &nbsp <input type="submit" name="sub +mit" value="submit" /></form>
    Of course my script is named "testsessions.pl" and is in the "wx-bin" cgi-bin directory, those values would probably change for you, but they are automaticly generated by start_form and should be the proper values for you. Why dont you try what i gave as an example and see what you get?