Hi all,
   Here is a problem I solved a couple of months ago.  Unfortunately my
solution, when tried on a new application, isn't working.

I have a page with two fields:  site (popup menu), date textfield.  In my
program I return to this page.  I want to have the values I filled in
appear the second time around.  site, the popup_menu works fine.  Date, the
textfield, is blank.  Here is what I do

sub fubar{
    print hidden(-name => 'date');
    my $date = param(-name => 'date');
    ...
    $row = TR(th({align =>'LEFT'}, -label => 'date'),
              td(-name => 'date', -value=> $date, -override => 0));
    ...
}
fubar();
print submit (name=>'go', -value = 'Get Lists');

The second time through this page, date is blank.
    
This is the best I can do.  Lincoln Stein's book has an example where there
is no problem with passing the values of the fields around from page to page.

Insight into the inner workings of cgi would be appreciated.  I am into it
deeply enough that I find it doing some odd things from time to time.

Thanks in advance,

mary anderson  

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to