Gossamer Forum
Home : Products : Gossamer Forum : Discussion :

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

Quote Reply
Re: [Jagerman] Using a independent form with gforum.cgi In reply to
Thank you, Jason!! It works! With the global I can now pass variables from a form (not a link) to another page. For the form, I use this:

<form action="forum.cgi" method="POST" enctype="multipart/form-data">
...
<input type="submit" class="submit" name="do=page2;<%hidden_query%>" value="Preview">
</form>

Last thing: In my form I use a multiple select values (<select size="10" name="forums_choice" multiple>). When the user select more than one value I get "ARRAY(0x84a15d8)" when I try to print <%forums_choice%>. When I print <%GT::Template::dump%>, I can see the user values for "forums_choice" like this: "$VAR = [
'forum=1',
'forum=2',
'forum=3',
'forum=4',
'forum=5'
];"


How can I print all the forums_choice values (forum=1, forum=2, forum=3, forum=4, forum=5) in the template? I would like that the values be separated by commas.

Thank you very much!

Sorry for my bad english...

François
Subject Author Views Date
Thread Using a independent form with gforum.cgi Franco 4781 Apr 19, 2003, 9:16 AM
Thread Re: [Franco] Using a independent form with gforum.cgi
Jagerman 4659 Apr 19, 2003, 3:29 PM
Post Re: [Jagerman] Using a independent form with gforum.cgi
Franco 4634 Apr 19, 2003, 7:47 PM
Thread Re: [Jagerman] Using a independent form with gforum.cgi
Franco 4640 Apr 19, 2003, 10:27 PM
Thread Re: [Franco] Using a independent form with gforum.cgi
Jagerman 4633 Apr 20, 2003, 4:10 PM
Thread Re: [Jagerman] Using a independent form with gforum.cgi
Franco 4624 Apr 20, 2003, 6:23 PM
Thread Re: [Franco] Using a independent form with gforum.cgi
Jagerman 4636 Apr 20, 2003, 8:03 PM
Thread Re: [Jagerman] Using a independent form with gforum.cgi
Franco 4617 Apr 20, 2003, 8:18 PM
Thread Re: [Franco] Using a independent form with gforum.cgi
Jagerman 4621 Apr 21, 2003, 12:46 AM
Post Re: [Jagerman] Using a independent form with gforum.cgi
Franco 4588 Apr 22, 2003, 8:31 AM