Gossamer Forum
Home : Products : DBMan SQL : Discussion :

Re: [LanceWilson2] Pass field values from one page to another.

Quote Reply
Re: [LanceWilson2] Pass field values from one page to another. In reply to
You can use the global below:

sub {
my $tags = GT::Template->tags;
my $cgi = $tags->{home}->{cgi};
my $html = '';
foreach (keys %$cgi) {
next if $_ =~ /^do|sid|db/ or !$cgi->{$_};
$html .= qq!<input type="hidden" name="$_" value="$cgi->{$_}">!;
}
return $html;
}

Hope that helps.

TheStone.

B.
Subject Author Views Date
Thread Pass field values from one page to another. LanceWilson2 5040 Apr 14, 2005, 10:28 AM
Thread Re: [LanceWilson2] Pass field values from one page to another.
604 4832 Apr 15, 2005, 3:54 PM
Thread Re: [TheStone] Pass field values from one page to another.
LanceWilson2 4834 Apr 15, 2005, 4:58 PM
Thread Re: [LanceWilson2] Pass field values from one page to another.
socrates 4626 Dec 16, 2005, 10:57 PM
Post Re: [socrates] Pass field values from one page to another.
LanceWilson2 4600 Dec 30, 2005, 12:43 AM