I have a constant sum question, and I would like validation to depend on two things:
1. The total must equal a value entered in the previous question
2. If a value has been entered for the “other maths” line, then the text box on that line must not be empty.
!
I can do (1) with piped text, using the “must total” validation option, or I can do (2) using custom validation. However, I can’t seem to do both at once. The custom validation option doesn’t seem to have the ability to do anything with the total.
Does anyone know how to achieve this?
No, not really. I ended up piping the answer from the previous question into the question text and saying that their total for the current question should equal that. Not perfect, but I got fewer invalid responses with the text reminder than without it.
!
!
https://community.qualtrics.com/XMcommunity/discussion/comment/11330#Comment_11330Thank You so much. This really helped!!!
Also, this can be done in constant sum question type!!
Hi,
Does anyone know if we can have both Total Box (Statements & Scale Points)?
I am trying to understand what are the total sums in a row, and column.
(I have added the last column manually - but this is what I am trying to do)
Thanks in advance
https://community.qualtrics.com/XMcommunity/discussion/comment/51058#Comment_51058Qualtrics only supports one or the other. You could use JavaScript to add the other.
Hi TomG,
Thanks for the suggestion. Although, I am no developer.
Do you know if there is already any Javascript done for this purpose?
Thanks
https://community.qualtrics.com/XMcommunity/discussion/comment/51082#Comment_51082Not that I am aware of. Feel free to contact me by private message if you're interested having someone create it.
https://community.qualtrics.com/XMcommunity/discussion/comment/51058#Comment_51058I now have a function that does this. See csmAddTotals.
Is it even possible to use piped text as the total in validation for either the Constant Sum or Matrix-Constant Sum Question types? I’ve seen it referenced above for
For context, I have a numeric amount saved to an embedded variable (classified as number set). The validation doesn’t work if I enter an amount below the value (e.g., if the variable is set to 10 earlier in the survey, my constant sum adds up to 3, but I’m able to submit the survey without any validation kickback).
Is it even possible to use piped text as the total in validation for either the Constant Sum or Matrix-Constant Sum Question types? I’ve seen it referenced above for
For context, I have a numeric amount saved to an embedded variable (classified as number set). The validation doesn’t work if I enter an amount below the value (e.g., if the variable is set to 10 earlier in the survey, my constant sum adds up to 3, but I’m able to submit the survey without any validation kickback).
It definitely works for me in a Matrix Table-Constant Sum type question, but I have only piped in values from other questions on the same survey; I’ve never tried piping in the value from an Embedded Data field into the Must Total field.
Here are a couple of things to look into and rule out, if you haven’t already, and a couple of things to experiment with:
- Make sure that the Embedded Data field appears before this question in the Survey Flow.
- Make sure that the value is being written to the Embedded Data field as expected.
- Try classifying the field as a number instead of number set.
- Try renaming the field so it does not contain a space.
Hope you’re able to resolve this issue!
Leave a Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.