Good start. The syntax for getting the response to a checkbox variable needs to look like this:
GETVALUE("Q11UAConsoles_1")
To represent "___ or ___," we'll need to use the operator "||" between the two criteria.
Finally, the "ADD" function only accepts zero, one, or two numbers after the name of the list. If we want to add items 8, 9, and 10 to the list, we can use the last case which tells the code to add all items between one number and the other.
Putting that all together, I think these constructed list instructions will work for you:
Begin Unverified Perl
if (GETVALUE("Q11UAConsoles_1")) {
ADD("UAHandpieces", 5, 6);
}
if (GETVALUE("Q11UAConsoles_2")) {
ADD("UAHandpieces", 3, 4);
}
if (GETVALUE("Q11UAConsoles_3")) {
ADD("UAHandpieces", 1, 2);
}
if (GETVALUE("Q11UAConsoles_4")) {
ADD("UAHandpieces", 11, 12);
}
if (GETVALUE("Q11UAConsoles_5")) {
ADD("UAHandpieces", 13);
}
if (GETVALUE("Q11UAConsoles_6") || GETVALUE("Q11UAConsoles_7")) {
ADD("UAHandpieces", 7);
}
if (GETVALUE("Q11UAConsoles_8")) {
ADD("UAHandpieces", 8, 10);
}
End Unverified