0 votes
ago in SoSci Survey (English) by s296958 (160 points)

Say I have a fully labeled scale question AA01 and want to omit item [9] from it depending on the value of random generator RG01, e.g., if RG01 == 1. That is, show the full scale if RG01 ==2, the full scale minus the 9th item if RG01 ==1. I have failed to implement this in PHP, too, unfortunately.

1 Answer

0 votes
ago by s109993 (11.8k points)
selected ago by s296958
 
Best answer

something like this should work, however, have not tested it :) so let me know if it does not work

if (value('RG01') == 1) {

question('AA01', '1,2,3,4,5,6,7,8,9,10');

} else if (value('RG01') == 2) {

question('AA01', '1,2,3,4,5,6,7,8,10');

}
ago by s296958 (160 points)
Works! Thank you!

Willkommen im Online-Support von SoSci Survey.

Hier bekommen Sie schnelle und fundierte Antworten von anderen Projektleitern und direkt von SoSci Survey.

→ Eine Frage stellen


Welcome to the SoSci Survey online support.

Simply ask a question to quickly get answers from other professionals, and directly from SoSci Survey.

→ Ask a Question

...