Support Forums : Hidden Values & Scores

We encourage an open exchange of information. Ask your questions or make suggestions. We are here to help, but we also encourage all of you to help one another.
Click on the Subscribe Flag to be notified by email of replies to your post.
Current User: Guest Login Register
Please consider registering

Hidden Values & Scores

Add a New Topic Reply to Post
UserPost

10:58
July 24, 2008


Experimentus

Member

London, UK

posts 47

Hi,

I have a group of ratings questions that I want to total up the scores for and divide by the number of questions (see Survey ID 58162).

I then want to be able to show the results for each group at the end of the survey on a chart as a percentage of the total possible amount.

As an example, we have Group 1, which has 4 sub-questions, each question is rated 0 - 10. The respondent rates two as 5 and two as 10. The average being 7.5/10

There are 4 groups in total….

Can I use a Hidden Value to total and divide the subquestion values? Then use the hidden value to display a score?

5:35
July 25, 2008


Experimentus

Member

London, UK

posts 47

OK, it looks like I need to get into the scripting side of things.

Bit out of my capabilities at the moment I think….php isn’t something I’ve had a lot of experience with, and I’m not a programmer

What I need to do is quite simple though (in theory). I need to take the average score over answers in a group, then store that figure (presumably in a hidden value?) to call it later with a chart….

If anyone can help me with a bit of pseudo cpde for the calculations bit, I should be able to figure the rest out as I go…..

5:32
July 25, 2008


Mario

Moderator

Boulder, CO

posts 336

You are correct, this would be custom scripting to run the calculations and store and retrieve them in hidden values so they are part of the response and reporting and of course allows charting and such.

The only advisement I can give is passing along the custom scripting page. http://app.sgizmo.com/surveybuilder/help_script.html

We are working on improving the documentation and example code, however we’re focusing our developer efforts at the moment on version 2 of SurveyGizmo in development.

5:43
July 28, 2008


Experimentus

Member

London, UK

posts 47

Thanks Mario,

I’ll have a go.

Hopefuly someone on here will be able to help me out when I get totally stuck.

Do you have any more basic code examples you could let me see?

4:24
July 28, 2008


cheri

Moderator

posts 290

Hello, Experimentus.

The link that Mario posted is all the documentation we have for you right now. After we get version 2.0 out, documentation will follow at some point. But it probably won’t be very soon.

–Cheri

Add a New Topic Reply to Post


Reply to Topic: Hidden Values & Scores

Guest Name (Required):

Guest EMail (Required):

Guest URL (required)

Math Required!
What is the sum of: 12 + 4        (Required)

Topic Reply:


 
© Simple:Press Forum - Version 3.1.3 (Build 356)