Gossamer Forum
Home : Products : Gossamer Forum : Discussion :

Re: [Franco] Using a independent form with gforum.cgi

Quote Reply
Re: [Franco] Using a independent form with gforum.cgi In reply to
Change the global, like this:

Code:
sub {
my $in = $IN->get_hash;
for (keys %$in) {
$in->{$_} = join ', ', @{$in->{$_}} if ref $in->{$_} eq 'ARRAY';
}
$in
}

Alternatively, if you _know_ that it will always be multiple form values, you can do:

<%loop forums_choice%><%loop_value%><%endloop%>

The only problem is that it will break if only one forums_choice= is passed in.

Jason Rhinelander
Gossamer Threads
jason@gossamer-threads.com

Last edited by:

Jagerman: Apr 21, 2003, 12:46 AM
Subject Author Views Date
Thread Using a independent form with gforum.cgi Franco 4724 Apr 19, 2003, 9:16 AM
Thread Re: [Franco] Using a independent form with gforum.cgi
Jagerman 4604 Apr 19, 2003, 3:29 PM
Post Re: [Jagerman] Using a independent form with gforum.cgi
Franco 4579 Apr 19, 2003, 7:47 PM
Thread Re: [Jagerman] Using a independent form with gforum.cgi
Franco 4586 Apr 19, 2003, 10:27 PM
Thread Re: [Franco] Using a independent form with gforum.cgi
Jagerman 4579 Apr 20, 2003, 4:10 PM
Thread Re: [Jagerman] Using a independent form with gforum.cgi
Franco 4569 Apr 20, 2003, 6:23 PM
Thread Re: [Franco] Using a independent form with gforum.cgi
Jagerman 4582 Apr 20, 2003, 8:03 PM
Thread Re: [Jagerman] Using a independent form with gforum.cgi
Franco 4563 Apr 20, 2003, 8:18 PM
Thread Re: [Franco] Using a independent form with gforum.cgi
Jagerman 4565 Apr 21, 2003, 12:46 AM
Post Re: [Jagerman] Using a independent form with gforum.cgi
Franco 4534 Apr 22, 2003, 8:31 AM