Welcome to the LimeSurvey Community Forum

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

Problems with tailoring

  • Petteri66
  • Petteri66's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
5 months 6 days ago #252405 by Petteri66
Problems with tailoring was created by Petteri66
Please help us help you and fill where relevant:
Your LimeSurvey version: 3.28.25+220822
Own server or LimeSurvey hosting: Own server
Survey theme/template: Bootwatch
==================
Hi,

I have spent time in the limesurvey manual’s EM section, but couldn’t find a solution for my case (my skills in coding, expressions are not very good). There are many samples, but not exactly what I would need.

I have a question Q1 “Which of the following companies do you know?” 

The answer options are something like:
A1 - Do not know at all
A2 -Know only by name
A3 -Use the products

The listed companies are:
SQ001 - company 1
SQ002 - company 2 etc.

In the next question, where the respondents should give a school grade for the companies, I would like to list only those companies, which are known by name or the products are used (= A2 or A3).

How do I write this correctly? I would be very thankful for any help for this.

BR, Petteri

Please Log in to join the conversation.

  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
5 months 6 days ago #252422 by holch
Replied by holch on topic Problems with tailoring
If you would use numerical codes for answer options instead of alpha numerical codes, this would be a lot easier. So if you rename your codes to 1, 2 and 3 (get rid of the As) it is easier. But also, what do you really want to do? Just list them? Or list them in a different survey? Obviously these a slightly different approaches.

But if you just want to list the names of the companies that have received "2" or "3" as an answer you could do something like this:
Code:
You mentioned that you know the following companies:<br>
{if(Q1_SQ001>1, Q1_SQ001.question,"")}<br>
{if(Q1_SQ002>1, Q1_SQ001.question,"")}<br>

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.

  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
5 months 6 days ago #252423 by holch
Replied by holch on topic Problems with tailoring

Your LimeSurvey version: 3.28.25+220822


By the way, your installation is from 22.08.2022, so it is over 1 year old and thus hasn't received updates for almost 15 months. In times of GDPR I don't think it is a good idea to collect data with such an updated system. You are not even on the latest version of the LS 3.x (which by the way will be EOL soon I think).

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.

  • Petteri66
  • Petteri66's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
5 months 6 days ago #252429 by Petteri66
Replied by Petteri66 on topic Problems with tailoring
Thank you so much for your help. I will proceed as you suggested! I knew, there would be a way, but I just couldn't figure it out in detail.

Please Log in to join the conversation.

  • Petteri66
  • Petteri66's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
5 months 6 days ago #252430 by Petteri66
Replied by Petteri66 on topic Problems with tailoring
This will be done asap. I have some custome coded web reports on and at the moment we can't update to 5.xx installation, I was told. But I'll update the latest 3.xx version.

Thank you also for this.

Please Log in to join the conversation.

  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
5 months 5 days ago #252462 by holch
Replied by holch on topic Problems with tailoring

But I'll update the latest 3.xx version.


This is the most important part. Seems like LS3 is still receiving some security updates and bug fixes. So as long as this is the case, you are fine. But I wouldn't leave any installation unpatched for 15+ months.

But it for sure would be good to already look into upgrading.

I personally probably would skip LS5 at this point in time and go straight to LS6.

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.

  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
5 months 5 days ago #252463 by DenisChenu
Replied by DenisChenu on topic Problems with tailoring

I personally probably would skip LS5 at this point in time and go straight to LS6.
Clearly not me …

A lot of usability issue in Admin theme
No real improvement in public theme

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.

  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
5 months 5 days ago #252464 by holch
Replied by holch on topic Problems with tailoring
Well, different preferences. I'd rather go for LS6 and go through the next couple of months of iterations than to go for LS5 which probably will be EOL soon as well.

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.

  • Petteri66
  • Petteri66's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
5 months 5 days ago #252467 by Petteri66
Replied by Petteri66 on topic Problems with tailoring
Thank you both for your opinions, very interesting issue. I'm struggling what to due to the custom coded web reports. I'll follow the development.

Please Log in to join the conversation.

  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
5 months 5 days ago #252468 by DenisChenu
Replied by DenisChenu on topic Problems with tailoring
For custom development

From 3 to 5 : Database are updated : Question (and Answers) table are cut in 2 part : Question and QuestionL10n can compare on getQuestionInformation plugin : legacy (3LTS) and current (5.X and 6)

From 5 to 6 : public view part : move from bootstrap 3 to bootstrap 5   (but 5.1 if i don't make error)

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.

  • Petteri66
  • Petteri66's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
5 months 5 days ago #252473 by Petteri66
Replied by Petteri66 on topic Problems with tailoring
OK, I'll talk this with our IT-person, who had made the custom reports. Thank you again for your help!

Please Log in to join the conversation.

Lime-years ahead

Online-surveys for every purse and purpose