Thread: HTML form help
View Single Post
Old 01-18-2009, 01:03 PM   #1
Ghoulish Delight
I Floop the Pig
 
Ghoulish Delight's Avatar
 
Join Date: Jan 2005
Location: Alternative Swankstyle
Posts: 19,348
Ghoulish Delight is the epitome of coolGhoulish Delight is the epitome of coolGhoulish Delight is the epitome of coolGhoulish Delight is the epitome of coolGhoulish Delight is the epitome of coolGhoulish Delight is the epitome of coolGhoulish Delight is the epitome of coolGhoulish Delight is the epitome of coolGhoulish Delight is the epitome of coolGhoulish Delight is the epitome of coolGhoulish Delight is the epitome of cool
Send a message via AIM to Ghoulish Delight Send a message via Yahoo to Ghoulish Delight
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?
__________________
'He who receives an idea from me, receives instruction himself without lessening mine; as he who lights his taper at mine, receives light without darkening me.'
-TJ

Ghoulish Delight is offline   Submit to Quotes Reply With Quote