On Wed, 26 Jan 2005 16:52:44 -0800, Matt Myhre <[EMAIL PROTECTED]> 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/[email protected]/ http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2 To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
