tracking user name in multiple page email form

Posted on 1999-11-05
Medium Priority
Last Modified: 2013-12-25
I'm designing a demo site that will eventually allow users to create basic web sites almost entirely online (once the client can afford to hire a programmer to accomplish this capably); in the meantime I've been futzing with email-processed forms for the demo. For various reasons, this is what works best right now.

I should qualify this question here: I'm not at all up to snuff on forms processing, but I'm really trying to learn by reading up on all the great online resources, which make my head swim.

Okay: Since a one-page form would be about three yards long, I'm breaking it up into three pages (but I'm still working on condensing it). So there will be two forms for submitting info into various fields and making various selections, followed by a purchase form. The first form is complete: It's at http://www.lalaweb.com/~kimvandyke/outasite/Templates/carpentry01/submission.htm. Submitting this form takes the reader to the second submission form (etc). I did figure out (w/the help of Responsomatic), in a sort of clunky way, how to lead the user from one form to the next. However, on the second form (http://www.lalaweb.com/~kimvandyke/outasite/Templates/carpentry01/submission2.htm) --which is still in the works-- I don't want the user to have to reenter his or her name or e-mail address. This must be incredibly simple, but how do I automatically carry over the user's name or e-mail address to the second and third form pages? This is essential, since the form results will be processed in three separate e-mail responses.

I'd appreciate your suggestions!

PS: I just know you're all going to say "cookies." I'm using a little cookie on the first form (pops up, asks for user name, then displays it on the form page); however, this is as advanced as I've ever gotten with cookies, and it doesn't address the above problem.

Kim Van Dyke
PO Box 162
(214 Bressett Road)
Williamstown, MA 01267

413-458-1924 (phone)
413-458-1921 (phone/fax)

Question by:kvandyke

Accepted Solution

slydon earned 600 total points
ID: 2187140
I take you're using ASP?

<% Session("username") = Request.Cookies("username") %>

Now, you can use the cookie as a session variable at any time later.

Later, you can simply use this in the form on the other page

<input type="text" name="textfield" value="<% = Session("username") %>">

and it will display the name that was on the cookie.

same goes for the email, or whatever you'd like to save as recurring data. I like to use name, email, browser, screen resolution, and languages

Author Comment

ID: 2187388
That's great, but it doesn't take into consideration my basic ignorance of the subject. I don't even know what ASP *is.* Can I just put the lines you suggest into my .html form code?

Featured Post

Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Custom Android App Development is the need of an hour for several businesses. If you go through the right firm for Android Application Development, it can make a huge difference to the ways in which customers interact with your business.
Now many of you may wonder how you can reach great design with least number of essentials. Isn’t stuffing ‘more and more number of elements that speak for the purpose’ the right way to do it? Erm, not always, and in this write-up, you will see why.
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
The viewer will get a basic understanding of what section 508 compliance can entail, learn about skip navigation links, alt text, transcripts, and font size controls.
Suggested Courses

627 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question