Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re^2: Problem in retreving value from url

by gayu_justin (Novice)
on Sep 03, 2013 at 13:34 UTC ( [id://1052103]=note: print w/replies, xml ) Need Help??


in reply to Re: Problem in retreving value from url
in thread Problem in retreving value from url

The problem is with my template following is my html portion:
<html> <head> </head> <body> <div> <form name = "employee" method = "post" action = "output.cgi?team_id=[ +% team_id %]&fromdate=[% fromdate %]&todate=[% todate %]"> <!-- <p><font color="red"> Available Groups</fo +nt> </p> --> <select name = "employee" id = "emp"> <option value = ''> select </option> [% FOREACH employee_list IN employee %] <option value="[% employee_list %]"> [ +% employee_list %] </option> [% END %] </select> <input type = "submit" value = "Submit"/> </form> </div> </body> </html>
i was looking through this and couldn't find the problem.please help

Replies are listed 'Best First'.
Re^3: Problem in retreving value from url
by Corion (Patriarch) on Sep 03, 2013 at 13:36 UTC

    So what is the problem there?

    Is the problem that you get the wrong output?

    What output do you get, and what output do you expect?

    Is the problem that you pass in the wrong data?

    Is the problem that the template creates the wrong output?

Re^3: Problem in retreving value from url
by poj (Abbot) on Sep 03, 2013 at 15:11 UTC
    Try using hidden input fields
    <form name = "employee" method = "post" action = "output.cgi"> <input type="hidden" name="team_id" value="[% team_id %]"/> <input type="hidden" name="fromdate" value="[% fromdate %]"/> <input type="hidden" name="todate" value="[% todate %]"/> ..
    poj

Log In?
Username:
Password:

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

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

    No recent polls found