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