Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re^2: submit button fails to pass the values using perl cgi?

by finddata (Sexton)
on Mar 30, 2017 at 10:22 UTC ( [id://1186476]=note: print w/replies, xml ) Need Help??


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.

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?

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1186476]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (4)
As of 2024-03-29 06:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found