Lounge of Tomorrow

Lounge of Tomorrow (http://74.208.121.111/LoT/index.php)
-   Egg Head (http://74.208.121.111/LoT/forumdisplay.php?f=13)
-   -   HTML form help (http://74.208.121.111/LoT/showthread.php?t=9098)

Ghoulish Delight 01-18-2009 01:03 PM

HTML form help
 
Arrgh. I'm mired in form tags, javascript, and cgi/perl. There's ONE freaking thing that I can't get to work, hopefully someone can give me a hand.

I'm creating a form that I've split up into 2 pages. What I need to do is take the POST results from the first page and make them hidden inputs on the 2nd. I can't for the life of my figure it out.

So the form on page 1 is:

<form method="post" action="page2.html">
<input type="text" name="input1">
<input type="button" name="submit" value="submit">
</form>



and then page two I've tried (with no success):

<form method="post" action="a_script.cgi">
<input type="hidden" name="input1" value=$_POST['input1']>
....
....
</form>



What am I doing wrong? Is it even possible?

Ghoulish Delight 01-18-2009 01:38 PM

Oh wait, I think I've got it. PHP. 'cause you know, juggling 3 languages wasn't enough.

Deebs 01-18-2009 04:08 PM

Ouch.

I'm glad you got it, but that really hurt my little pea brain.

keith - SuPeR K! 01-18-2009 09:32 PM

<form method="post" action="a_script.cgi">
<input type="hidden" name="input1" value="<?php echo $_POST['input1']; ?>">
....
....
</form>

Ghoulish Delight 01-18-2009 09:43 PM

Yeah, got that. I was trying to find a way around PHP since this is within a wordpress page and I didn't want to either edit the template or add a plugin, but I finally faced facts and went the plugin route.

Of course I finally get that figured out and stop my cgi script from giving me sh*t, only to learn that the host's email service has taken a sh*t and sendmail isn't responding to requests.

Ef.

bewitched 01-19-2009 02:03 AM

Type in the thingy, then press the button, press the spacebar a few times then ask someone like GD or Andrew for help.

At least that's what I'd do...:p

Kevy Baby 01-19-2009 06:42 PM

You do the Hokey Pokey and you turn yourself around...


All times are GMT -7. The time now is 11:44 AM.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.