Testing that responses total 100%
Problem
You want to make sure that responses to a series of questions total 100% (or whatever other value).
Solution
Use a Test pound instruction as in:
Discussion
The Test pound instruction can be used to implement any specialised logical test. In the one above, the test is triggered by receiving an answer to question Q1A. The test is then implemented: the message is displayed if the sum of four open-end parts is not equal to 100. The "type" parameter specifies that the error message should be delivered in the context of questions presented in a table format (assuming that the four open-end questions were displayed in this manner).
The test can be more or less complex. It can also use other questions in the questionnaire. For example, the following condition verifies whether the sum of four answers exceeds the value of another answer: