I have a multiple text question Q9, with 6 subquestions Q9_1, Q9_2..Q9_6. I am using the responses in a couple of questions that follow, in a radio and a dual array. I can get them to show, in the following questions using Q9_1.valueNAOK, in each of the following subquestions, and by specifying in the relevance on the side of the subquestion for Q22. but if someone does not put answers in each of the 6 subquestions in Q9, say they only have 2 answers, how do I hide those subquestions rows in Q22, they come up blank.
Would appreciate any help.
I just tried using {!is_empty(Q9_1)} in the relevance for that subquestion, to hide the previous response in Q9_1 when it is blank, but it does not work. Any advice.
1: don't use valueNAOK excet you use assessment
2. Use .NAOK , always
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member. -
Professional support
-
Plugins, theme and development
. I don't answer to private message.
I wanted to mention the use of QCode.value, too,
but then I saw the explanation in the manual: Qcode.value:
the assessment value for the question if it is relevant (otherwise blank), or the text value if it is not a coded question
So, this may be misleading.
Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
valueNAOK here : then can return 0 for single answer
«or the text value if it is not a coded question» unsure i think it's NAOK only for text question type, but if you want text : .shown is the best
.value must be used with care and know what you do an need.
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member. -
Professional support
-
Plugins, theme and development
. I don't answer to private message.
Carolyn use valueNAOK : my advice : was use .NAOK (or .shown)
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member. -
Professional support
-
Plugins, theme and development
. I don't answer to private message.
Thanks so much it works now, appreciate you advice.Yes I did have brackets in there.... I think you assume that everyone who is using this software has an IT background. I'm a research fellow in psychology and for most surveys you can get by without knowing the conventions you have learnt. Once upon a time universities supplied the experts to help us poor RF's to do this, now we must do for ourselves. thanks