Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Jul 2002
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    variables: transport, display and sent.

    i need a simple script to save my input on a page. I also want to print it on the nect page and finally restore it on the third page. It should look something like:

    page 1: question 1
    page 2: You ga x as answer on question 1
    question 2
    page 3: you gave x as answer on questoin 1
    you gave y as answer on question 2
    question 3
    page 4: you gave ....
    you gave .....
    you gave .....
    submit

    I tried it on different ways but every time or the data isnt saved or it can be restored or it cant be sent finally. Can someone help me with this??

    Thanx

  • #2
    Regular Coder
    Join Date
    Jun 2002
    Location
    Montreal, Canada
    Posts
    644
    Thanks
    0
    Thanked 0 Times in 0 Posts
    You could always pass variables from page to page, but after a few questions your page location would get long:

    http://www.htmlgoodies.com/beyond/jspass.html

    I'd suggest simplifying it like q1=b,q2=d,q3=a so not too much info is being passed back and forth.

    another option would be to use cookies. Search on google, you'll find plenty of tutorials.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •