/    Sign up×
Community /Pin to ProfileBookmark

finding average and saving it for form

Hey what’s up everybody im new here an i’m wondering if anyone would know how to help me figure out my problem. i have this 15 page quiz i guess and i’ve got all of these radio buttons that are valued 5 to 1 and i was wondering if anyone could help me figure out how to save it and make them all average out on the last page???

Thanks

to post a comment
HTML

2 Comments(s)

Copy linkTweet thisAlerts:
@crh3675Jan 27.2004 — You will need to post the data from page to page using the GET method. On each subseqeunt page, place the previously entered values into form HIDDEN fields. On the last page, simpyly request all the variables from the server.

Now, if you do not have a server-side language (ASP, PHP, etc...) then you will need to Javascript the entire thing (which is not really recommended).
Copy linkTweet thisAlerts:
@PeOfEoJan 27.2004 — If you possibly can you should definatly use a server side language. You have more options then the one above though, you can pass data in query strings (not as secure), the session state, cookies, and if you are using asp.net you can also use cache, context, and viewstate.
×

Success!

Help @jpatch27 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 3.3,
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: @darkwebsites540,
tipped: article
amount: 10 SATS,

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

tipper: Anonymous,
tipped: article
amount: 10 SATS,
)...