Click to See Complete Forum and Search --> : JS: Passing Values help


batterysavers
06-29-2003, 04:01 AM
I am trying to pass a value from one page to another. I have ten items on one page, when you hit the submit button, I want it to carry the one products data to my "Order Form" (sort of autofill) The passing data method I tried to adapt is listed here: http://forums.webdeveloper.com/forumdisplay.php?s=&forumid=3

I want to change the "text boxes" that are currently used to "permanant data" - that gets passed on to the order form.

The page I am trying to send the data from is the first product on this page.:
http://www.cookie-nook.com/All_cookies_I_love_you.htm

jeffmott
06-29-2003, 06:36 AM
First we should know where exactly you're having trouble. Getting the query string into variables, or getting the variables into form fields?

BTW, I hope you don't plan on using checkboxes or multiple select menus (more specifically multiple values submitted under the same name) because the query string parser you have now won't handle it. In fact, it even leaves the data unescaped. So you may get a string that looks like, hello+world%21. A better alternative is attached.