|
Posted by number1.email on 12/15/05 10:59
I have a Web Page in which the user inputs their name, then fills out a
questionairre.
When they hit the "Submit" Button, the user is taken to another Web
page which provides the responses of other users to the same
questionairre. They are then given the option to click on a "Submit"
Button on this Second Web Page and go back to the original
questionairre to fill out some further details. The problem is:
1) When the user first visits the questionairre, I would like to
provide a text field so that they can enter in their name.
2) I would like to save this name in a hidden field or something
similar, and when they go to the second page say something like "Thanks
<username> for filling out the survey".
3) When they click on the Submit Button on the Second Web Page (ie:
taking them back to the Original Questionairre to fill out more
details), I would like to not provide the text field they saw when they
first visited this page, but rather say something like "Welcome back
<username> you can fill out further details now".
Seems pretty simple, but I'm having a problem getting the hidden fields
in my HTML and php code to work and not give me error messages that the
variables don't exist, etc. Maybe there is a better way than hidden
fields. Can someone provide me with some code that will work for this?
Thanks.
Navigation:
[Reply to this message]
|