a

More
2 months 3 weeks ago #197307 by ahassoun
a was created by ahassoun
I have difficulty designing Logical Conditions.

What I understand from this page is that I should specify the question on which the condition is checked



Despite that, the area looks a text block, but I am not able to write anything - and nothing appears there to choose a question.

I tried several times - reloading several times - trying different questions, still the same, this block is clear.

My second question is if I can display a block of text if a condition is met?

So, if the answer is No -> Display a block text, and continue with the rest of the survey
If the answer is Yes -> Display a hidden question.

My particular requirement is (Probably there is another way to achieve this) :

Are you registered on our website?
Yes: Display Question: Enter username
No: Display box: How to register.

Stay safe!
Attachments:

Please Log in to join the conversation.

LimeSurvey Partners
More
2 months 3 weeks ago #197311 by holch
Replied by holch on topic a
First of all, the subject "a" is not really ideal for a post, wouldn't you agree?

Next: I wouldn't use the condition designer anymore, you will be far quicker and far more flexible using expression manager/script and relevance equations.

That said: in the left box you should see previous questions to choose from. Are there previous questions? I assume so given that the question name is G01Q10.

Which version of LImesurvey do you use?
My first guess would be that LS has problems with the different alphabet within the boxes and thus doesn't display anything.

Can you attach a LSS export of your survey?

I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.

Please Log in to join the conversation.

More
2 months 3 weeks ago #197325 by ahassoun
Replied by ahassoun on topic a
Haha, I didn't get what you mean at first, till I noticed the title! There must be something went wrong - because I am sure I wrote a proper title!

It seems I can't edit it now - if you could, this was my title:

Can I display a text box if Condition is met?

And I will get back to your solution soon!

Thanks.

Please Log in to join the conversation.

More
2 months 3 weeks ago #197326 by ahassoun
Replied by ahassoun on topic a
I use Version 4.1.17+200414. And my structure is attached.
Attachments:

Please Log in to join the conversation.

More
2 months 3 weeks ago #197334 by Joffm
Replied by Joffm on topic a
Hi,
unfortunately I can't import your survey, because an error message appears saying "There are empty groups".

But your small problem:

Let's assume:
Q1: Are you registered on our website? (Yes/No question)
Q2: Enter username (here you enter the relevance equation: Q1=="Y"
Q3: How to register.(here you enter the relevance equation: Q1=="N"


If you use a "normal" sinngle question you have to use your codes for "yes" and "no"

Joffm


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

Please Log in to join the conversation.

More
2 months 3 weeks ago #197349 by ahassoun
Replied by ahassoun on topic a
Thanks Joffm! This should be clear to me now.

Any hint on how to display a text box, rather than a real question, if Q==N?

Please Log in to join the conversation.

More
2 months 3 weeks ago #197350 by holch
Replied by holch on topic a
What do you mean with "display a text box, rather than a real question, if Q==N?"?

You have various question types with text boxes. Just insert one of these. If with text box you mean a text display only, there is a question type for this as well. If this isn't what you are looking for, please explain better. Sometimes an image or drawing helps to explain.

I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.

Please Log in to join the conversation.

More
2 months 3 weeks ago #197353 by ahassoun
Replied by ahassoun on topic a
Yes! Text display (X) - this is what I meant! I just saw that type and it is what I am looking for! Everything is clear now. Thanks.

Please Log in to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now