|
-
Jun 10th, 2001, 10:18 AM
#1
form parameters
I have this form see, and when they click on submit, or whatever, I need a variable to be sent to the next page. I have this
Code:
<form action="apps.php?form=application" method="post">
<input type="hidden" value="yes" name="agree">
<input type="submit" vlaue=submit" name="I Agree">
now that is all the variables I need. what happens when I push teh I agree button is that it loads the apps.php page but to the default class, it doesn't show the form application. I do see in the url it has something like this
.mysite.com/apps.php?submit=1+Iagree&agree=yes
soemthing to that nature. how do I make it so that it keeps the variable "yes" cause my application checks for this variable, and make the page load the application, if yes is true, so they can fill it out?
-
Jun 10th, 2001, 03:39 PM
#2
Fanatic Member
You mean a session variable?
Alcohol & calculus don't mix.
Never drink & derive.
-
Jun 10th, 2001, 04:18 PM
#3
no I am not using sessions variables. The only thing that I am using is the hidden field variable. see the returning url that has agrree=yes, I would like to keep that but have the url look something like this
app.php?form=application&agree=yes
and display my form. or if the varaible is not there then it won't display, which I already have working.
-
Jun 10th, 2001, 04:32 PM
#4
hang on I think I remeber the way. I might have to add another hidden field. like
input type=hidden name=form value=application
I think that way might work and give me the output I want. I will get back to you if it does or doesn't
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|