Problem with condition definition

More
1 week 5 days ago #188712 by clprovecto
Good Morning

I am developing a questionnaire and would like the questions to appear as you log in to the questionnaire.
I set the condition for the first question and it works correctly.

Example:



When I will perform the same procedure in the next questions, everything is blank, nothing appears.



I have even tried to copy the scenario from the first question and apply it to the second, but when I change to the number I need it erases the scenario.

Could someone help me with this problem ??
I thank the attention.
Attachments:

Please Log in or Create an account to join the conversation.

LimeSurvey Partners
More
1 week 5 days ago #188713 by holch
Difficult to say with the screenshots, without seeing your survey. However, I would not use the scenarios, but rather use the relevance equation directly.

Copy the relevance equation for the first questions into the relevance equation of the second question and adapt it accordingly. A lot quicker than going through scenarios.

I'm not a LimeSurvey GmbH member. I answer at the LimeSurvey forum in my spare time. No support via private message.
Some helpful links: Manual (EN) | Question Types | Workarounds
The following user(s) said Thank You: clprovecto

Please Log in or Create an account to join the conversation.

More
1 week 5 days ago #188720 by clprovecto
First, thanks for the help.

Could you point me to some material so I could take or study examples of the equation?

Please Log in or Create an account to join the conversation.

More
1 week 5 days ago #188722 by holch

I'm not a LimeSurvey GmbH member. I answer at the LimeSurvey forum in my spare time. No support via private message.
Some helpful links: Manual (EN) | Question Types | Workarounds
The following user(s) said Thank You: clprovecto

Please Log in or Create an account to join the conversation.

More
1 week 5 days ago #188724 by Joffm
https://manual.limesurvey.org/Expression_Manager_sample_surveys

So you only want to display the second question if the first subquestion of AA is empty?

You really should send an *.lss export of the survey with only the relevent questions.

Joffm


Volunteers are not paid.
Not because they are worthless, but because they are priceless
The following user(s) said Thank You: clprovecto

Please Log in or Create an account to join the conversation.

More
1 week 4 days ago #188728 by clprovecto

Joffm wrote: https://manual.limesurvey.org/Expression_Manager_sample_surveys

So you only want to display the second question if the first subquestion of AA is empty?

You really should send an *.lss export of the survey with only the relevent questions.

Joffm



Thanks for the material.

Actually I have three questions, I would like that according to the token of who is logged in he shows the question.
Example:
User 1 Attribute 1 Show Question 2
User 2 Attribute 2 Shows Question 4
User 3 Attribute 5 Show Question 7
And replicating to other quiz questions would basically show only the questions that user is allowed to see.

Please Log in or Create an account to join the conversation.

More
1 week 4 days ago #188729 by clprovecto

holch wrote: You will need to read about the Expression Manager in the manual. Here a couple of links where you might want to start:

manual.limesurvey.org/Expression_Manager_-_quick_start_guide
manual.limesurvey.org/Expression_Manager_how-tos
manual.limesurvey.org/Expression_Manager_examples


Thanks for the material.

Please Log in or Create an account to join the conversation.

More
1 week 4 days ago #188730 by Joffm
Hi,

Example:
User 1 Attribute 1 Show Question 2
User 2 Attribute 2 Shows Question 4
User 3 Attribute 5 Show Question 7
And replicating to other quiz questions would basically show only the questions that user is allowed to see.


As said, send your sample as *.lss

Joffm


Volunteers are not paid.
Not because they are worthless, but because they are priceless

Please Log in or Create an account to join the conversation.

More
1 week 4 days ago #188732 by holch
I agree with Joffm, the best is to upload a sample as LSS, because your explanations are quite confusing.

But, if you want to show a question based on an attribute you can always follow the example of the relevance equation (formula de relevancia em Portugues).

So basically if you want to show question X only to people that have a "1" in the custom attribute 1 you write something like this into the relevance equation of that question:
{TOKEN:ATTRIBUTE_1==1}
So whenever someone opens the survey with a token link Limesurvey will check for question X if the token attribute 1 of this person has a value of 1. If yes, it will show the question, if no, it will hide the question to this person.

I'm not a LimeSurvey GmbH member. I answer at the LimeSurvey forum in my spare time. No support via private message.
Some helpful links: Manual (EN) | Question Types | Workarounds

Please Log in or Create an account to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now
Join our Newsletter!