Click to See Complete Forum and Search --> : Simple Form Variable Difficulties


ryland000
09-17-2003, 09:21 PM
I have a form where about 40 values are inputed by the user. When they submit, it takes them to a page that has a javascript to read the variables out of the URL. The only problem is that the script writes out the string name as well (i.e. - it writes &name=ryland000 {then a line break} &address=1234 Loopy Lane , etc.)
The script inputs a line break for every & in the URL, and a space for every + to allow spaces, but I dont want it to write out the string name, just its value. If you could help me to get the script to ingore the &name= part, I would appreciate it. I have left a link to the page where you can see how it works:

http://www.thecarshopwy.com/FormComplete/

Oh, I would also like to know if it is possible to input those values into a cookie so that I could recall them. The values go through four pages, each one with a different layout, so I need to somehow store them and recall them as needed.

I also attempted to pur the two page sources into one text file and attach it. Hope that works too.

Thank you so much, in advance,
Ryan.

learninghtml
10-10-2003, 06:21 PM
Hi,
Don't know about the first bit, I don't have the time at the moment to help with that, but I can help with cookies. I have some functions you can use (see attached).

ryland000
10-10-2003, 08:58 PM
Thank you for the help with the cookies. I spent who knows how long trying to figure out how to do it the way I wanted to do it originally. When I finally got it right for the first page, it no longer had the values for the other three pages in the URL. So I wasted so much time with that.

But the cookies thing is working well, and I am glad someone was finally able to help me out. So once again, thank you. This has made my task so much easier.

Ryan