On Wed, 26 Jan 2005 16:52:44 -0800, Matt Myhre <suppressed> wrote:
> $output .= $q->hidden(-name => 'rm', -value => 'mode2');
That will only set 'rm' to 'mode2' if 'rm' doesn't already exist. If
'rm' already has a value from the current request, then CGI.pm uses
that value regardless of what you provided in the function call. You
need to pass -override => 1 to get it to always use the value you
specified (a very annoying feature of CGI.pm that has caught me
several times).
Cheers,
Cees
---------------------------------------------------------------------
Web Archive: http://www.mail-archive.com/suppressed/
http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2
To unsubscribe, e-mail: suppressed
For additional commands, e-mail: suppressed
Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.