- Posts: 20
- Thank you received: 0
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Ranking question + tailoring (combination expression+scripting) don't match up
- envitera
- Topic Author
- Offline
- Junior Member
Less
More
9 years 1 month ago #117258
by envitera
Ranking question + tailoring (combination expression+scripting) don't match up was created by envitera
This is probably a tiny thing to solve, but it's placed in a complex survey which I can't expose and there is plenty of customization inserted. I think somebody from the limesurvey staff will have to inspect this as the survey is currently activated and the credit for responses has been payed.
The problem appeared from nowhere. It's about hiding all the predefined ranking boxes which don't receive a name in a previous question.
An example is attached, but here everything seems fine. In the example provided no errors are invoked.
Before the ranking an existing list is presented with 10 additional empty fields in case the users would like to add more elements into the list:
In the next group the first question is a multiple numerical input question where fields of the elements from the list are filled with a number (1) and the fields corresponding to the optionally added elements with a condition:
This question is also hidden using this code:
Therefore in the following questions ranking boxes are shown based on non-empty fields. Even if the attached example works, this is the real situation. There's nothing to rank:
The logic files for the example and for the online survey are both error free.
Thanks for the inspection and further propositions.
The problem appeared from nowhere. It's about hiding all the predefined ranking boxes which don't receive a name in a previous question.
An example is attached, but here everything seems fine. In the example provided no errors are invoked.
Before the ranking an existing list is presented with 10 additional empty fields in case the users would like to add more elements into the list:
In the next group the first question is a multiple numerical input question where fields of the elements from the list are filled with a number (1) and the fields corresponding to the optionally added elements with a condition:
Code:
{if(is_empty(IVintro_1),'',1)}
Code:
$(document).ready(function(){ $('#question{QID}').hide(); });
Therefore in the following questions ranking boxes are shown based on non-empty fields. Even if the attached example works, this is the real situation. There's nothing to rank:
The logic files for the example and for the online survey are both error free.
Thanks for the inspection and further propositions.
Attachments:
The topic has been locked.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13935
- Thank you received: 2551
9 years 1 month ago #117271
by DenisChenu
limeservice is the hosting services by Carsten Schmitz, the lead devlopper of LimeSurvey.
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.
Replied by DenisChenu on topic Ranking question + tailoring (combination expression+scripting) don't match up
limesurvey!=limeservicezer0mode wrote: [...]
I think somebody from the limesurvey staff will have to inspect this as the survey is currently activated and the credit for responses has been payed.
[...]
limeservice is the hosting services by Carsten Schmitz, the lead devlopper of LimeSurvey.
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.
The topic has been locked.
- envitera
- Topic Author
- Offline
- Junior Member
Less
More
- Posts: 20
- Thank you received: 0
9 years 1 month ago #117275
by envitera
Replied by envitera on topic Ranking question + tailoring (combination expression+scripting) don't match up
Hi Denis,
Thanks for the reminder. I opened a ticket.
Anyway, the Community Support forums on LimeSurvey.org is also stated as a source of help and I guess everybody can profit from the posted issues, including the advanced users with profound knowledge.
Thanks for the reminder. I opened a ticket.
Anyway, the Community Support forums on LimeSurvey.org is also stated as a source of help and I guess everybody can profit from the posted issues, including the advanced users with profound knowledge.
The topic has been locked.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13935
- Thank you received: 2551
9 years 1 month ago #117276
by DenisChenu
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.
Replied by DenisChenu on topic Ranking question + tailoring (combination expression+scripting) don't match up
Maybe some caching issue, working on last version.
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:
The topic has been locked.
- envitera
- Topic Author
- Offline
- Junior Member
Less
More
- Posts: 20
- Thank you received: 0
9 years 1 month ago #117277
by envitera
Replied by envitera on topic Ranking question + tailoring (combination expression+scripting) don't match up
True, first I thought it was the caching. I deleted the history and refreshed the session and at first it worked. But that doesn't help anymore. Maybe I just missed something obvious here. I'll see how it turns with the ticket.
The topic has been locked.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13935
- Thank you received: 2551
9 years 1 month ago #117302
by DenisChenu
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.
Replied by DenisChenu on topic Ranking question + tailoring (combination expression+scripting) don't match up
Attention : i think it CAN NOT work in preview mode.
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.
The topic has been locked.