- Posts: 5
- Thank you received: 0
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Hide a specific subquestion in an array based on a previous answer on a array
- walidhamra
- Topic Author
- Offline
- New Member
Less
More
8 years 9 months ago - 8 years 9 months ago #121016
by walidhamra
Hide a specific subquestion in an array based on a previous answer on a array was created by walidhamra
How can I hide a subquestion in an array if on a previous answer on a array = 99.
please helping me...
you find the file of the survey.....
please...please
please helping me...
you find the file of the survey.....
please...please
Attachment URating.jpg not found
Attachment Q4AA1-2.jpg not found
Attachment limesurvey_survey_532925.lss not found
Attachments:
Last edit: 8 years 9 months ago by walidhamra.
The topic has been locked.
- tpartner
- Online
- LimeSurvey Community Team
Less
More
- Posts: 10611
- Thank you received: 3691
8 years 9 months ago #121050
by tpartner
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Replied by tpartner on topic Hide a specific subquestion in an array based on a previous answer on a array
There is currently no way to put relevance or conditions on sub-questions but searching the forum will yield many examples of filtering with a hidden multiple-choice question. Search for "hidden multiple choice".
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
- Mazi
- Offline
- Official LimeSurvey Partner
8 years 9 months ago #121244
by Mazi
Best regards/Beste Grüße,
Dr. Marcel Minke
Need Help? We offer professional Limesurvey support: survey-consulting.com
Contact: marcel.minke(at)survey-consulting.com
Replied by Mazi on topic Hide a specific subquestion in an array based on a previous answer on a array
@walidhamra, unfortunately, your attachments got lost during activating our new website, sorry.
Relevance equations for sub-questions are supported at the upcoming Limesurvey 2.06 version. Please test the current release candidate at www.limesurvey.org/en/unstable-release .
Do not use that for production yet.
Relevance equations for sub-questions are supported at the upcoming Limesurvey 2.06 version. Please test the current release candidate at www.limesurvey.org/en/unstable-release .
Do not use that for production yet.
Best regards/Beste Grüße,
Dr. Marcel Minke
Need Help? We offer professional Limesurvey support: survey-consulting.com
Contact: marcel.minke(at)survey-consulting.com
The topic has been locked.
- jelo
- Offline
- Platinum Member
Less
More
- Posts: 5070
- Thank you received: 1263
8 years 9 months ago #121251
by jelo
The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
Replied by jelo on topic Hide a specific subquestion in an array based on a previous answer on a array
When using a array number question LS 2.06 would make it possible to sum up every column to e.g. 100 and generate an error message if the column is not 100. Correct? Or was that possible with LS 2.05 as well?Mazi wrote: Relevance equations for sub-questions are supported at the upcoming Limesurvey 2.06 version.
The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
The topic has been locked.
- Mazi
- Offline
- Official LimeSurvey Partner
8 years 9 months ago #121252
by Mazi
Best regards/Beste Grüße,
Dr. Marcel Minke
Need Help? We offer professional Limesurvey support: survey-consulting.com
Contact: marcel.minke(at)survey-consulting.com
Replied by Mazi on topic Hide a specific subquestion in an array based on a previous answer on a array
To my knowledge that is no new feature at LS 2.06 (but I didn't check).
At LS 2.05 I would have used a question validation equation to sum up each column and check the related value. The same should be doable for LS 2.06.
At LS 2.05 I would have used a question validation equation to sum up each column and check the related value. The same should be doable for LS 2.06.
Best regards/Beste Grüße,
Dr. Marcel Minke
Need Help? We offer professional Limesurvey support: survey-consulting.com
Contact: marcel.minke(at)survey-consulting.com
The topic has been locked.
- jelo
- Offline
- Platinum Member
Less
More
- Posts: 5070
- Thank you received: 1263
8 years 9 months ago #121257
by jelo
The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
Replied by jelo on topic Hide a specific subquestion in an array based on a previous answer on a array
Is there a link for an example or a section in the manual? I told someone that it isn't possible via EM in LS 2.05. Which seems to be a wrong statement.Mazi wrote: At LS 2.05 I would have used a question validation equation to sum up each column and check the related value. .
The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
The topic has been locked.
- Mazi
- Offline
- Official LimeSurvey Partner
8 years 9 months ago - 8 years 9 months ago #121262
by Mazi
Best regards/Beste Grüße,
Dr. Marcel Minke
Need Help? We offer professional Limesurvey support: survey-consulting.com
Contact: marcel.minke(at)survey-consulting.com
Replied by Mazi on topic Hide a specific subquestion in an array based on a previous answer on a array
See the "What is the total of column 3?" example at: manual.limesurvey.org/Expression_Manager....27that.27_variablesjelo wrote: Is there a link for an example or a section in the manual? I told someone that it isn't possible via EM in LS 2.05. Which seems to be a wrong statement.
Best regards/Beste Grüße,
Dr. Marcel Minke
Need Help? We offer professional Limesurvey support: survey-consulting.com
Contact: marcel.minke(at)survey-consulting.com
Last edit: 8 years 9 months ago by Mazi.
The topic has been locked.
- tpartner
- Online
- LimeSurvey Community Team
Less
More
- Posts: 10611
- Thank you received: 3691
8 years 9 months ago #121267
by tpartner
- Maximum characters: 3
- Numbers only: Yes
- Show totals for: Columns
Then, for example, if you had x-axis codes "A1", "A2", "A3", you could use a question validation equation like this:
And a question validation tip like this
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Replied by tpartner on topic Hide a specific subquestion in an array based on a previous answer on a array
In 2.05, I would use an array-texts questions with the following settings:When using a array number question LS 2.06 would make it possible to sum up every column to e.g. 100 and generate an error message if the column is not 100. Correct? Or was that possible with LS 2.05 as well?
- Maximum characters: 3
- Numbers only: Yes
- Show totals for: Columns
Then, for example, if you had x-axis codes "A1", "A2", "A3", you could use a question validation equation like this:
Code:
sum(self.sq_A1.NAOK) == 100 AND sum(self.sq_A2.NAOK) == 100 AND sum(self.sq_A3.NAOK) == 100
Code:
{if(sum(self.sq_A1.NAOK) != 100 OR sum(self.sq_A2.NAOK) != 100 OR sum(self.sq_A3.NAOK) != 100, 'All columns must total to 100!', '')}
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
- Mazi
- Offline
- Official LimeSurvey Partner
8 years 9 months ago #121270
by Mazi
Best regards/Beste Grüße,
Dr. Marcel Minke
Need Help? We offer professional Limesurvey support: survey-consulting.com
Contact: marcel.minke(at)survey-consulting.com
Replied by Mazi on topic Hide a specific subquestion in an array based on a previous answer on a array
That's exactly the approach I had in mind. Thanks for sharing the detailed solution, Tony!
Best regards/Beste Grüße,
Dr. Marcel Minke
Need Help? We offer professional Limesurvey support: survey-consulting.com
Contact: marcel.minke(at)survey-consulting.com
The topic has been locked.