Support Forums

Questions about surveying? How does this thing work? We're here to help!

The Forums are now closed, because much of the older info is out of date.

Check out our Knowledge Base, ask a support question: Support.SurveyGizmo.com or ask a sales question with our Sales Contact Form.

Current User: Guest

Custom Matrix (mixed table type) & Continuous Sum

Topic Locked
UserPost

12:43
June 26, 2009


gsilva

Guest

Is there any way to include a coninuous sum in a Custom Matrix?  One of the attributes of the matrix will be a percentage of time spent on the task (row).  Looking for a way to sum the total of the column so the user knows if they're close to the limit.  The continuous sum control does this very well.

If they can't be combined, what are some alternatives?  Custom scripting?

2:14
June 27, 2009


jonathan

Admin

posts 1129

Hey!

We actually son't yet offer the ability to have a continuous sum inside of a custom matrix. Its something we're looking towards in our next version of SurveyGizmo but have yet to add. This is very easily possible through custom scripting, however. Simple write a custom script that totals the values together, and if they don't equal the intended total, use the page jump to send the user backwards. You can even have a hidden error message in a descriptive text that you change to visible in your custom script!

I hope this helps!

Jonathan Turk, SurveyGizmo Account Manager
Did this answer help? Let us know!
Want to be a SurveyGizmo Expert? Learn here!

6:33
June 29, 2009


gsilva

Guest

jonathan said:

Hey!

We actually son't yet offer the ability to have a continuous sum inside of a custom matrix. Its something we're looking towards in our next version of SurveyGizmo but have yet to add. This is very easily possible through custom scripting, however. Simple write a custom script that totals the values together, and if they don't equal the intended total, use the page jump to send the user backwards. You can even have a hidden error message in a descriptive text that you change to visible in your custom script!

I hope this helps!


What would the syntax of the script look like?  I'm not sure how to reference the attributes in the custom matrix.

7:45
June 29, 2009


jonathan

Admin

posts 1129

Each “subquestion” within a custom matrix has its own unique question ID. Just like accessing an individual question, you can use these to access the individual subquestion in either a merge code, or a custom script using sgapiGetValue().

Jonathan Turk, SurveyGizmo Account Manager
Did this answer help? Let us know!
Want to be a SurveyGizmo Expert? Learn here!



The Forums are now closed, because much of the older info is out of date.

Check out our Knowledge Base, ask a support question: Support.SurveyGizmo.com or ask a sales question with our Sales Contact Form.