Constant Sum Total Must Be Less than or Equal to Embedded Data Value

RandomKraftRandomKraft Raleigh, North CarolinaCommunity Member Qubie ✭

Constant Sum Total Must Be Less than or Equal to Embedded Data Value

I need to validate the total of a constant sum question with three rows against the value of an embedded data value. If the sum of the constant question exceeds the value, then an error message should appear and prompt the respondent to revise their answers.

Essentially, ${q://QID16/TotalSum} should be less than or equal to ${e://Field/S5b}.

However, I can't call the total sum in drop downs in custom validation and I am unsure how to move forward from there.

The equation I am looking at is as follows, but I do not know how to communicate this into Qualtrics.
${q://QID18/ChoiceNumericEntryValue/1} + ${q://QID18/ChoiceNumericEntryValue/2} + ${q://QID18/ChoiceNumericEntryValue/3} <= ${e://Field/S5b}, otherwise error.

Answers

Sign In to Comment