Bug / functionality issue (refered ‘other’ field)

More
2 months 2 weeks ago - 2 months 2 weeks ago #219997 by opuxno
ok guys, so I found what seems to be a bug/glitch in the system. steps to reproduce: create a simple survey like the following: 
  1. question with a few radio list options. set 'other' to yes
  2. array question with array filtering based on question 1 (so to only display the selections chosen there). Include a subquestion 'other' with field value {question1_other} (ie {G01Q01_other} for instance.
  3. array question
 this works fine wrt question, and if you enter an 'other' option in the first question, it displays nicely in the question 2 array. however, if you add a condition in the condition designer to only display question 3 on a particular selection in question 1, that breaks the logic between questions 1 and 2, so that if you enter an 'other' option in q1, the field will display in q2, but not have the title. once you select the option in q1 that will show q3, it shows. if that is unselected it does not. 
please advise. 
Checked on limesurvey 4, as well as latest 5.1.13.
Last edit: 2 months 2 weeks ago by opuxno. Reason: Spacing

Please Log in to join the conversation.

More
2 months 2 weeks ago - 2 months 2 weeks ago #220000 by Joffm
Hi,
please add a lss export of this.

What happens if you use "relevance equation" instead of the "outdated" condition designer?

Joffm


Volunteers are not paid.
Not because they are worthless, but because they are priceless
Last edit: 2 months 2 weeks ago by Joffm. Reason: typo
The following user(s) said Thank You: DenisChenu

Please Log in to join the conversation.

More
2 months 2 weeks ago #220046 by opuxno
Here’s an example lss that should give the same issue I described above

File Attachment:

File Name: limesurvey...3131.lss
File Size:35 KB
Attachments:

Please Log in to join the conversation.

More
2 months 2 weeks ago #220047 by opuxno
I was not aware the condition designer had been replaced..

Please Log in to join the conversation.

More
2 months 2 weeks ago #220057 by DenisChenu
I just checked in 5.1.13 : issue seems different.
Condition is OK, but text is updated only of SQ01 is checked.
 
The update of HTML is wrapped in a ficntion checking this.
if ((((LEMval('613131X49X896SQ001.NAOK')  == "Y"))))
{
jQuery('#LEMtailor_Q_897_1').html(LEMfixnum(
LEMif(LEManyNA('G01Q02_other'),'',(LEMval('G01Q02_other') ))));
jQuery('#LEMtailor_Q_897_1').trigger('html:updated');
  $('#question897').trigger('relevance:on');
  relChange897=true;
  $('#relevance897').val('1');
}
else {
  $('#question897').trigger('relevance:off');
  if ($('#relevance897').val()=='1') { relChange897=true; }
  $('#relevance897').val('0');
}
}

The LEMval('613131X49X896SQ001.NAOK') == "Y" is an expression manager issue.

Best seems to report the issue community.limesurvey.org/bug-tracker/

The issue didn't happen with 3.X version (attached lss)
 

File Attachment:

File Name: limesurvey...sion.lss
File Size:26 KB


 

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development . I don't answer to private message.
Attachments:

Please Log in to join the conversation.

More
2 months 2 weeks ago #220086 by opuxno
this is the same issue, I think.

what's notable is that this happens only while there is a condition for question three on question one subquestion one. if you remove that condition you will probably see the issue is not there. would you confirm this?

Please Log in to join the conversation.

More
2 months 2 weeks ago #220094 by holch

I was not aware the condition designer had been replaced..

Well, the condition designer hasn't really been "replaced", it is still there, for "historical" and "sentimental" reasons, I guess... ;-)

But I don't think that many power users are using the condition designer since Expression Manager was implemented. EM is just a lot more flexible, quicker and better over all.

So bugs with conditions will most probably take a long time to be detected, because hardly very few will use it, I guess.

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 2 weeks ago #220096 by DenisChenu
It's not only with condition designer : i replace by same condition in expression : same issue.
Again (and again) : please report the issue.

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development . I don't answer to private message.

Please Log in to join the conversation.

More
2 months 1 week ago #220211 by opuxno
The following user(s) said Thank You: DenisChenu

Please Log in to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now