![]() |
€uromeinke, FEJ. and Ghoulish Delight RULE!!! NA abides. |
![]() |
#1 |
I Floop the Pig
|
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 |
![]() |
Submit to Quotes
![]() |
![]() |
#2 |
I Floop the Pig
|
Oh wait, I think I've got it. PHP. 'cause you know, juggling 3 languages wasn't enough.
__________________
'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 |
![]() |
Submit to Quotes
![]() |
![]() |
#3 |
...
Join Date: Dec 2007
Posts: 961
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Ouch.
I'm glad you got it, but that really hurt my little pea brain. |
![]() |
Submit to Quotes
![]() |
![]() |
#4 |
Community Fruit
|
<form method="post" action="a_script.cgi">
<input type="hidden" name="input1" value="<?php echo $_POST['input1']; ?>"> .... .... </form> |
![]() |
Submit to Quotes
![]() |
![]() |
#5 |
I Floop the Pig
|
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.
__________________
'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 |
![]() |
Submit to Quotes
![]() |
![]() |
#6 |
101% Yummy!
|
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... ![]()
__________________
~Whitney Wondering about the future of Ellington Woodard's punk@ss sh!t. ![]() ![]() ![]() |
![]() |
Submit to Quotes
![]() |
![]() |
#7 |
Chowder Head
Join Date: Jan 2005
Location: Yes
Posts: 18,500
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
You do the Hokey Pokey and you turn yourself around...
__________________
The thing about quotes on the internet is that you cannot verify their validity.
- Abraham Lincoln |
![]() |
Submit to Quotes
![]() |