Welcome to the LimeSurvey Community Forum

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

Conditional end message

More
7 years 6 months ago - 7 years 6 months ago #164108 by DenisChenu
Replied by DenisChenu on topic Conditional end message
Hi,

usage of QCODE.question work in 2.6lts, surely in 2.73 , but 3.0 can have issue with this.

And it's really better than usage of equation for such purpose : allow html (equation disallow it), take less part in DB etc …
You can hide it using included 'hide this question'

I make some quick test to see if it's a LS issue or not.
Come back after

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.
Last edit: 7 years 6 months ago by DenisChenu.
The topic has been locked.
More
7 years 6 months ago - 7 years 6 months ago #164110 by DenisChenu
Replied by DenisChenu on topic Conditional end message
There are an issue with 3.3.1 (i advice my clients to stay on 2.6lts or 2.73 since they need some specific system).


2.6lts : demonstration.sondages.pro/853122
2.72.1 : on 2.7X
3.3.1 (git master) : master.sondages.pro/index.php/survey/ind...22/newtest/Y/lang/en

I report the bug

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.
Last edit: 7 years 6 months ago by DenisChenu.
The topic has been locked.
More
7 years 6 months ago #164468 by spiceaw
Replied by spiceaw on topic Conditional end message
Hi Denis,

Thanks for your reply.
I have updated to 3.4 since I noticed that the bugs you reported were fixed in that release.

When I use QCODE.question, the html is properly displayed (I used text display as question type for QCODE).
But I am still not able to set a condition to display that HTML or not.

Here is what I try :
I have a Yes/No question.
I have a hidden HTML text question with conditional display based on the Yes/No. If the answer was Yes, the HTML question is displayed.
I use HTML.question in the end message. The HTML code is properly displayed but it gets displayed all the time even if the answer was no.

How would you solve this case?

Thanks
The topic has been locked.
More
7 years 6 months ago - 7 years 6 months ago #164470 by DenisChenu
Replied by DenisChenu on topic Conditional end message
The last commit about this fix was here : github.com/LimeSurvey/LimeSurvey/commit/...273e5fe244547c13fde4 then not in last version …

But i think you need 3 and not 2 for recursion level.

About relevance : sometime i use :
{if(QCODE.relevanceStatus,QCODE.question,"")}

If it don't work with 2, try to put the equation inside the test …

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.
Last edit: 7 years 6 months ago by DenisChenu.
The following user(s) said Thank You: spiceaw
The topic has been locked.
More
7 years 6 months ago #164501 by spiceaw
Replied by spiceaw on topic Conditional end message

DenisChenu wrote:

About relevance : sometime i use :
{if(QCODE.relevanceStatus,QCODE.question,"")}


That was the solution. It now works great.
Thanks.
The following user(s) said Thank You: DenisChenu
The topic has been locked.
Moderators: holchtpartner

Lime-years ahead

Online-surveys for every purse and purpose