Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

multiple answer with commentary

  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
8 years 2 months ago #132531 by tpartner
Replied by tpartner on topic multiple answer with commentary

And I'm expecting to use the "clear-logo" format, what gives me the following

Try adding this to the end of template.css (you will need to make a copy of the template ):
Code:
.multiple-opt-comments .answer li .option label {
    width: auto;
}

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
  • ledoux
  • ledoux's Avatar Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
8 years 2 months ago #132539 by ledoux
Replied by ledoux on topic multiple answer with commentary
Tpartner, Thank you.
The equation you proposed (adapted with my questions and sub-quest) is displayed in bold-red in the administration page, that means that something is wrong, isn't it ? When I activate the questionnaire and test to only check a box, then the page is not displayed, what is not desired.

(only to be sure, "Relevance equation" is the conditional filter for the page, that's it?)

New user of LS but with the will to contribute to this great community !
The topic has been locked.
  • ledoux
  • ledoux's Avatar Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
8 years 2 months ago #132540 by ledoux
Replied by ledoux on topic multiple answer with commentary
thank you. The problem is that I can not find where to open "template.css", I think I don't have the rights for this (don't have the "paint brush" icon). Don't know how to get them...

New user of LS but with the will to contribute to this great community !
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
8 years 2 months ago #132541 by tpartner
Replied by tpartner on topic multiple answer with commentary
Unfortunately, without access to the template you will not be able to modify the appearance.

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
  • ledoux
  • ledoux's Avatar Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
8 years 2 months ago #132542 by ledoux
Replied by ledoux on topic multiple answer with commentary
Dear TPartner,
Your option is working ! but not really in the right way. Actually, I would like to hide the page only if there are 2 comments, and display it if there is 0 or 1 comment (or only boxes checked).

Is this relevance equation right?
CroyancesABpositives_ABPos1comment = '' OR CroyancesABpositives_ABPos2comment = '' OR CroyancesABpositives_ABPos3comment = ''

New user of LS but with the will to contribute to this great community !
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
8 years 2 months ago #132545 by tpartner
Replied by tpartner on topic multiple answer with commentary
Try this, it should only show the page if there are less than two comments.

Code:
count(CroyancesABpositives_ABPos1comment, CroyancesABpositives_ABPos2comment, CroyancesABpositives_ABPos3comment) LT 2

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
  • ledoux
  • ledoux's Avatar Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
8 years 2 months ago #132546 by ledoux
Replied by ledoux on topic multiple answer with commentary
It is working !! Thank you :!!

My last question on that post: actually, the condition has to be applied on 2 questions which are on the same page (let's say A and B),
Meaning, if there is less then 2 comments for one of the questions, then the page should be displayed.
It should be : If ((0 or 1 comment on var A) OR (0 or 1 comment on var B)) then show page

I tried the following equation: (your expression for var A) OR (your expression for var B)
But it is not working, the page is not shown only if there is at least 2 comments on both variable. And it is shown for other conditions, even if there is for ex 2 comments on var A, and O or 1 comment on var B, what is wrong !
My last question;... :)

New user of LS but with the will to contribute to this great community !
The topic has been locked.
  • ledoux
  • ledoux's Avatar Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
8 years 2 months ago #132557 by ledoux
Replied by ledoux on topic multiple answer with commentary
It is working !! Thank you :!!

My last question on that post: actually, the condition has to be applied on 2 questions which are on the same page (let's say A and B ),
Meaning, if there is less then 2 comments for one of the questions, then the page should be displayed.
It should be : If ((0 or 1 comment on var A) OR (0 or 1 comment on var B )) then show page

I tried the following equation: (your expression for var A) OR (your expression for var B )
But it is not working, the page is not shown only if there is at least 2 comments on both variable. And it is shown for other conditions, even if there is for ex 2 comments on var A, and O or 1 comment on var B, what is wrong !
This is my last question;... :)

New user of LS but with the will to contribute to this great community !
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
8 years 2 months ago - 8 years 2 months ago #132572 by tpartner
Replied by tpartner on topic multiple answer with commentary
Asking the question twice will not speed up answers. We are all volunteers with real jobs and will answer as time allows.

I have no idea what the question or sub-question codes are but if I follow your logic correctly, this should work:

Code:
count(CroyancesABpositives_ABPos1comment, CroyancesABpositives_ABPos2comment, CroyancesABpositives_ABPos3comment) LT 2 OR count(Q2Code_ABPos1comment, CQ2Code_ABPos2comment, Q2Code_ABPos3comment) LT 2

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Last edit: 8 years 2 months ago by tpartner.
The topic has been locked.
  • ledoux
  • ledoux's Avatar Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
8 years 2 months ago #132577 by ledoux
Replied by ledoux on topic multiple answer with commentary
Dear Tpartner
I tried to delete the 1st post (because the "B" letter created a smiley, so I wanted to write it again). It was said "deleted" so I didn't know if it was still "visible" on the forum. So I put it again. Sorry for that. It was not to push an answer...

I will try your solution, thank you a lot !! You guys are really efficient, reactive and pleasant ! Thanks !

New user of LS but with the will to contribute to this great community !
The topic has been locked.
  • ledoux
  • ledoux's Avatar Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
8 years 2 months ago #132619 by ledoux
Replied by ledoux on topic multiple answer with commentary
Tpartner
Thank you !
Actually it is not working. With this equation, the next page is hidden only if there are at least 2 answers for BOTH variable. I would like the page to be hidden if there are 2 comments for question 1, and "0 or 1" comment for question 2. Do you have an idea ? thank you !!

New user of LS but with the will to contribute to this great community !
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
8 years 2 months ago #132635 by tpartner
Replied by tpartner on topic multiple answer with commentary
I'm sorry, I cannot follow your logic any more - it keeps changing.

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose