Welcome to the LimeSurvey Community Forum

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

how to display dynamically different title for each question group

  • Engineerumair
  • Engineerumair's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
4 years 11 months ago #182965 by Engineerumair
I need to create a survey where participants can respond to different question groups.

Here is what I need to do

I need to create questions for survey of course evaluation (Note : Questions are same for every Course)

suppose I have the following courses :

1) Image Processing 2) Computer Vision 3) Programming

Questions:


Please answer the questions for Image Processing

Q1 The course was completely delivered

1) Strongly Agree 2) Agree 3) Neutral 4) Disagree 5) Strongly Disagree

Q2 The teacher prepared well for the lecture

1) Strongly Agree 2) Agree 3) Neutral 4) Disagree 5) Strongly Disagree

Q3 You were active in the class

1) Strongly Agree 2) Agree 3) Neutral 4) Disagree 5) Strongly Disagree


Please answer the questions for Computer Vision

Q1 The course was completely delivered

1) Strongly Agree 2) Agree 3) Neutral 4) Disagree 5) Strongly Disagree

Q2 The teacher prepared well for the lecture

1) Strongly Agree 2) Agree 3) Neutral 4) Disagree 5) Strongly Disagree

Q3 You were active in the class

1) Strongly Agree 2) Agree 3) Neutral 4) Disagree 5) Strongly Disagree


and so on....


There are 100 participants, some enrolled in two courses and some in all

The participant can only respond to courses they are enrolled in (they should not see the question for the course they are not enrolled)


How can I achieve this with LimeSurvey existing feature.
The topic has been locked.
  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
4 years 11 months ago #182971 by Joffm
Some respondents are enrolled in all courses.

So you have to create as many groups as there are courses.
(LimeSurvey does not support loops or blocks or whatever it is called in other tools.)
Therefore the title of your course group are static. No need to change something dynamically.

Set relevance equation to the groups depending either on token attributes (if your survey is token based) or on a first question where you ask the respondents which courses they are enrolled in.

Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless
The topic has been locked.
  • Engineerumair
  • Engineerumair's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
4 years 11 months ago #182972 by Engineerumair
Joffm, can you please let me how to do this with token attributes.
The topic has been locked.
  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
4 years 11 months ago #182973 by Joffm
let each participant have as many token:attributes as there are courses.
Either the value is "1" = enrolled in course, or "0" = not enrolled.

E.g. Participant XXX is enrolled in courses "1" and "3":
In the participant table the values are
ATTRIBUTE_1: 1
ATTRIBUTE_2: 0
ATTRIBUTE_3: 1

And in the survey the group relevance equation
of course 1 will be "TOKEN:ATTRIBUTE_1==1",
of course 2 will be "TOKEN:ATTRIBUTE_2==1", and so

Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless
The topic has been locked.
  • Engineerumair
  • Engineerumair's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
4 years 11 months ago - 4 years 11 months ago #182978 by Engineerumair
Thanks, I have added attribute_1<class No> and it has value xyz

Then I added Relevance equation on question group as "Attribute_1 == xyz"

but it still shows the questions from the group, although the participant has different value in its attribute.
Last edit: 4 years 11 months ago by Engineerumair.
The topic has been locked.
  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
4 years 11 months ago #182979 by Joffm
There seem to be some big mistakes in spelling.

It is TOKEN:ATTRIBUTE_1, ..., as described here
manual.limesurvey.org/Email_templates#Email_placeholders


although if you upload a csv-file to the participants table it is different.

And what means "attribute_1<class No>"?

You should really send an example *.lss.

Best regards
Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless
The topic has been locked.
  • Engineerumair
  • Engineerumair's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
4 years 11 months ago #182982 by Engineerumair
attribute_1<classNo> : ClassNo is field description.
The topic has been locked.
  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
4 years 11 months ago #182984 by Joffm
Hi,
as long as you do not show us what you tried (obviously unsuccessful) it's difficult to help.

So, please, send your survey as *.lss.

You opened a lot of different post with your same problem (we know what you are going to achieve), but we can not see why your tries don't work.

Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless
The topic has been locked.
  • Engineerumair
  • Engineerumair's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
4 years 11 months ago #182985 by Engineerumair
Here is my file pattern

tid firstname lastname email emailstatus token language validfrom validuntil invited reminded remindercount completed usesleft attribute_1 <ClassNo> attribute_2 <CMSID>
1 Maryam Xyz xyz@gmail.com OK 41843 en N N 0 N 1 1233


and I have also attached .ISS
The topic has been locked.
  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
4 years 11 months ago #183008 by Joffm
Hi, thank you,
but this is different from the structure in your first post, isn't it?

And I do not see the groups with the identical questions for each course.

Okay, here is an example, how it can work.
The value of token attributes: 0="not enrolled", 1="enrolled"
1. group: Some generaL questions
2. group: questions about the course 1 (group relevance equation: TOKEN:ATTRIBUT_1==1)
3. group: questions about the course 2 (group relevance equation: TOKEN:ATTRIBUT_2==1)
4. group: questions about the course 3 (group relevance equation: TOKEN:ATTRIBUT_3==1)
5. group: questions about the course 4 (group relevance equation: TOKEN:ATTRIBUT_4==1)
6. group: Some questions to finish the survey

Furthermore I included a randomization of the course groups: Set "Courses" as "randomization group name" in each of them.

Here the structure (only important fields) of the participants table:


Example:

File Attachment:

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


Regards
Joffm

P.S. The names of the courses are some of the UBUNTU version names.

Volunteers are not paid.
Not because they are worthless, but because they are priceless
The following user(s) said Thank You: DenisChenu
The topic has been locked.
  • Engineerumair
  • Engineerumair's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
4 years 11 months ago #183025 by Engineerumair
Thanks Joffm, Yeah the questions are not Identical for but it would be

I need to have attribute for class number if participant attribute class number matches with group relevance then I will show otherwise won't.
The topic has been locked.
  • Engineerumair
  • Engineerumair's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
4 years 11 months ago #183029 by Engineerumair
Thanks, it worked I have used one attribute (attribut_1 <ClassNo>) to allow participant to answer the questions to question group.

Note : Now I need to create more than 100 question groups for courses

I also need to add more attributes so that I can show statistics on the basis of that attributes.

I added some attributes such as department semester and year but didn't find option in statistics on the basis of attributes.
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose