.answered can be used to check if a question had a specific answer, or one of several answers, or even if it was answered at all. It always follows ifQ; for example:

ifQ(10) // if question 10
.answered() // was answered at all


.answered can be used in the following ways:

.answered() // answered at all
.answered(1, 2) // answered with option 1 OR 2
.answered([1, 2]) // answered with 1 AND 2 (multicheck)
.answered([1, 2], 3) // answered with BOTH (1 and 2) OR with 3
.answered("Pepsi") // answered with the text "Pepsi" (text questions)


.notAnswered is exactly like .answered, except in reverse: .notAnswered() means "was not answered at all", .notAnswered(1) means "was not answered with answer option 1", and so on.


.answered

ifQ(31)
.answered(2)
.appear(Q(41));


// Different question types can take different types of arguments!

// these can also be used

// .answered()           // answered at all

// .answered(1, 2)       // 1 or 2

// .answered(6, "wark")  // text questions

// .answered([1, 2])     // 1 and 2, in the case of multicheck

// .answered([1, 2], 3)  // (1 and 2) or 3


.notAnswered

ifQ(31)
.notAnswered(2)
.appear( Q(41) );


// Different question types can take different types of arguments!

// these can also be used

// .notAnswered()           // answered at all

// .notAnswered(1, 2)       // 1 or 2

// .notAnswered(6, "wark")  // text questions

// .notAnswered([1, 2])     // 1 and 2, in the case of multicheck

// .notAnswered([1, 2], 3)  // (1 and 2) or 3