/    Sign up×
Community /Pin to ProfileBookmark

Simple Form Variable Difficulties

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:

[URL]http://www.thecarshopwy.com/FormComplete/[/URL]

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.

to post a comment
JavaScript

2 Comments(s)

Copy linkTweet thisAlerts:
@learninghtmlOct 10.2003 — 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).

[upl-file uuid=9abf93cb-470c-4352-b765-362ac1499796 size=6kB]cookiecode.txt[/upl-file]
Copy linkTweet thisAlerts:
@ryland000authorOct 11.2003 — 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
×

Success!

Help @ryland000 spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 6.2,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,
)...