Welcome to the LimeSurvey Community Forum

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

Truncated Relevance Export?

More
9 years 5 months ago #133006 by Moradzadeh
So, I have a question that should display when a rating on the prior one is three or less.
The relevance equation is:
((( ! is_empty(satis1(DOT)NAOK) && (satis1(DOT)NAOK <= "3"))))
The problem is, when I export this to a tsv, the relevance condition appears as
((( ! is_empty(satis1(DOT)NAOK) && (satis1(DOT)NAOK

(Note: replace (DOT) with a dot. The forum system did not like these expressions.

And of course, that does not work.

This is the latest version of LS (2.50)

Any thoughts?
The topic has been locked.
More
9 years 5 months ago #133020 by tpartner
Try removing all of the unnecessary brackets:

Code:
!is_empty(satis1.NAOK) AND satis1.NAOK <= "3"

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
More
9 years 5 months ago #133023 by Moradzadeh
Well, those extra parentheses do look troubling. They were generated by the LimeSurvey "add conditions" screen, and I'm not seeing a place to immediately edit it, though it must exist.

I note that this problem only arises with a "<=" Less than or equal operator. I wonder if the .tsv generator is treating the "<=" like the beginning of an HTML tag.
The topic has been locked.
More
9 years 5 months ago #133028 by DenisChenu
Hi,

You can use le in replace of <= : www.limesurvey.org/manual/Expression_Manager#HTML_editor_issue

But this bug must be reported :)

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.
The topic has been locked.
More
9 years 5 months ago #133034 by Moradzadeh
CORRECTION:

The problem I am having is actually a CONDITIONS export. I understand now that, though they seem to do the same things for me, Relevance and Conditions are two different things. So, it's still a bug, just a different bug.
The topic has been locked.
More
9 years 5 months ago #133037 by DenisChenu

Moradzadeh wrote: ...
So, it's still a bug, just a different bug.

It's a real bug , you can update Expression (erlevance) but not condition.

Put the bug number here please.

And remind to put a litlle lss file for testing in bug report. If i remind it work in 2.06 .

Denis

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.
The topic has been locked.
More
9 years 5 months ago #133039 by Moradzadeh
Bug posted. #10760
The topic has been locked.
More
9 years 5 months ago #133045 by DenisChenu

Moradzadeh wrote: Bug posted. #10760

Here : bugs.limesurvey.org/view.php?id=10760

Please : provide a little lss file : 2 questions , one with condition. Then we can more easily test and fix more quickly.

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.
The topic has been locked.
Moderators: tpartnerholch

Lime-years ahead

Online-surveys for every purse and purpose