Results 1 to 4 of 4

Thread: form parameters

  1. #1
    scoutt
    Guest

    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?

  2. #2
    Fanatic Member Wynd's Avatar
    Join Date
    Dec 2000
    Location
    In a bar frequented by colossal death robots
    Posts
    772
    You mean a session variable?
    Alcohol & calculus don't mix.
    Never drink & derive.

  3. #3
    scoutt
    Guest
    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.

  4. #4
    scoutt
    Guest
    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
  •  



Click Here to Expand Forum to Full Width