Conditional end message

More
7 months 5 days ago - 7 months 5 days ago #164108 by DenisChenu
DenisChenu replied the 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 service on demand (or search sondages pro).
An error happen ? Before make a new topic : remind the Debug mode .
Last Edit: 7 months 5 days ago by DenisChenu.

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

More
7 months 5 days ago - 7 months 5 days ago #164110 by DenisChenu
DenisChenu replied the 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 service on demand (or search sondages pro).
An error happen ? Before make a new topic : remind the Debug mode .
Attachments:
Last Edit: 7 months 5 days ago by DenisChenu.

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

More
6 months 4 weeks ago #164468 by spiceaw
spiceaw replied the 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

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

More
6 months 4 weeks ago - 6 months 4 weeks ago #164470 by DenisChenu
DenisChenu replied the 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 service on demand (or search sondages pro).
An error happen ? Before make a new topic : remind the Debug mode .
Last Edit: 6 months 4 weeks ago by DenisChenu.
The following user(s) said Thank You: spiceaw

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

More
6 months 4 weeks ago #164501 by spiceaw
spiceaw replied the 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

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!