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?


In reply to Re^3: submit button fails to pass the values using perl cgi? by huck
in thread submit button fails to pass the values using perl cgi? by finddata

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.