how to display dynamically different title for each question group

Mehr
2 Monate 2 Wochen her #182965 von 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.

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

LimeSurvey Partners
Mehr
2 Monate 2 Wochen her #182971 von 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

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

Mehr
2 Monate 2 Wochen her #182972 von Engineerumair
Joffm, can you please let me how to do this with token attributes.

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

Mehr
2 Monate 2 Wochen her #182973 von 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

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

Mehr
2 Monate 2 Wochen her - 2 Monate 2 Wochen her #182978 von 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.
Letzte Änderung: 2 Monate 2 Wochen her von Engineerumair.

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

Mehr
2 Monate 2 Wochen her #182979 von Joffm
There seem to be some big mistakes in spelling.

It is TOKEN:ATTRIBUTE_1, ..., as described here
https://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
Anhänge:

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

Mehr
2 Monate 2 Wochen her #182982 von Engineerumair
attribute_1<classNo> : ClassNo is field description.

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

Mehr
2 Monate 2 Wochen her #182984 von 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

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

Mehr
2 Monate 2 Wochen her #182985 von 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 Diese E-Mail-Adresse ist vor Spambots geschützt! Zur Anzeige muss JavaScript eingeschaltet sein! OK 41843 en N N 0 N 1 1233


and I have also attached .ISS
Anhänge:

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

Mehr
2 Monate 2 Wochen her #183008 von 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:

Dateianhang:

Dateiname: limesurvey...3576.lss
Dateigröße: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
Anhänge:
Folgende Benutzer bedankten sich: DenisChenu

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

Mehr
2 Monate 2 Wochen her #183025 von 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.

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

Mehr
2 Monate 2 Wochen her #183029 von 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.

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

Mehr
2 Monate 2 Wochen her - 2 Monate 2 Wochen her #183030 von Joffm
But no participant will be enrolled in 100 courses.
So it would be sufficient to create as many groups as the maximum of courses one participant can be enrolled in.
The rest can be made by micro-tayloring.
This is easier to implement in LS, but a lot more difficult to analyze. (you have to restructure everything)

There is another idea.

Create a "master survey" with some general questions at the beginning and all attributes you need.
Here you should create the Token attributes of courses as
ATTRIBUTE_1: 13
ATTRIBUTE_2: 34
ATTRIBUTE_2: 51
...
meaning the course no. the participant is enrolled in.

Create an equation ("courses") which joins the attributes to a string (here "013034051", leftpadded with "0" because you seem to have more than 100 courses.

Nothing else.
Now you link this survey to the "slave survey" and add two parameters to the end-url like:
"https://www.[myServer.com/mySlaveSurvey...?lang=en&newtest=Y&pSID={SAVEDID}&pCourse={courses}"

In the "slave survey" capture the two parameters. Then
take the first three characters of pCourse "substr(pCourse,0,3)" and remove them from pCourse "substr(pCourse,3)"
Now you have the number of the course and with micro-tayloring you are able to display the name of the course, and other details.
Ask your questions.
Then you link this survey to itself:
Again add the two parameters
"https://www.[myServer.com/mySlaveSurvey...?lang=en&newtest=Y&pSID={pSID}&pCourse={pCourse}"

With an if-statement remove the end-url if there is no more course.
This way you have only one group for unlimited courses.
In the dataset you will find one record for each course, with the course number and the SAVEDID.

You may have a look at a working example here:
I did not use tokens but a predefined string of capital letters. You may change it (from "A" to "Z")
the course names are the UBUNTU version names.

Sample survey
This will be active till Wednesday

Best regards
Joffm


Volunteers are not paid.
Not because they are worthless, but because they are priceless
Letzte Änderung: 2 Monate 2 Wochen her von Joffm.

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

Mehr
2 Monate 2 Wochen her #183032 von Engineerumair
Thanks Joffm, with nice suggestion.

I am not able to understand that how and where to use substr in LimeSurvey
and my course id will be having 8 digits (4 digit for course id and 4 digits for term) eg (22131813) 1813 means fall18.


I also need to generate statistics reports on the basis of department, semester and year.

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

Mehr
2 Monate 2 Wochen her #183039 von Joffm

my course id will be having 8 digits (4 digit for course id and 4 digits for term) eg (22131813)

But this is absolutely inessential for your survey as long as there is a unique relation between the real course ID and the code used in the survey.

and regarding "substr"
https://manual.limesurvey.org/Expression_Manager#Implemented_Functions
and
https://manual.limesurvey.org/Expression_Manager_examples#Examples_for_Expressions
or
https://www.php.net/manual/en/function.substr.php


Volunteers are not paid.
Not because they are worthless, but because they are priceless

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

Jetzt loslegen!

Melden Sie sich jetzt an, und erstellen Sie in wenigen Minuten Ihre erste Umfrage.

Account einrichten

Abonnieren Sie unseren Newsletter

Abonnieren Sie unseren Newsletter für alle Neuigkeiten rund um LimeSurvey
captcha