Hi everybody, Happy New Year!
I'm trying to create a filter that leads to a different set of pages depending on whether participants answered an open question. This is what I'm using:
if (strlen(trim(value('WE01'))) > 3) {
setPageOrder('DH4a', 'S2', 'DH5', 'S3', 'DH6', 'DH7', 'S4');
} else {
setPageOrder('DH4b', 'S2', 'DH5', 'S3', 'DH6', 'DH7', 'S4');
}
However, it doesn't work. It always continues with DH4b - even if I am providing an answer to the following question (in German):
