It is about comparing "no answer" to any answer? No problem:
if (trim(value('AB01_01')) == '') {
// Gave no answer
} else {
// Gave any answer
}
The trim()
will take care that an accidential blank is not considered an answer. Please note that there are two (single) quotations marks (''
) right to the ==, not one double ("
).