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

  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
5 years 1 week ago #183215 by Joffm
Well,
if the students can only evaluate in the current term, it is not necessary to concatenate the year and semester.
This you can calculate of the actual date.

Okay the slave survey will not change.
But two things:
1st. You will have seen it already: White letters on white background is not so easy to read.
2nd. You should use the default codes "A1", "A2" in scales. I think later you will do some analyzes, and calculate medians, means, std.deviations, etc.
What is the mean of "A1" and "A4". It is not "A2,5". So better use now numerical codes, than to have to recode later in your statistic tool.

This afternoon I will send you a working example. Now as an open survey.

Regards
Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless
The topic has been locked.
  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
5 years 1 week ago - 5 years 1 week ago #183226 by Joffm
Now you got nearly your whole survey.
BTW: It's beerware.

Up to you:
1. adapt the paths of the survey end-urls.
2. Enter the courses (you can enter more in an active survey)
If you do that - next term - you have to adapt the join-statement in "selcourses"

In the example you must not select the last department.

I hope you understand the logic.

And you find an EXCEL sheet with the results of two students (master and slave)
You see how you can merge the results by the first column.
And how easy it is now to do the analysis with breaks like "year" "course" "term" or combinations of them.

Joffm

File Attachment:

File Name: limesurvey...ster.lss
File Size:52 KB

File Attachment:

File Name: limesurvey...lave.lss
File Size:44 KB

File Attachment:

File Name: results-Total.zip
File Size:6 KB

Volunteers are not paid.
Not because they are worthless, but because they are priceless
Last edit: 5 years 1 week ago by Joffm.
The topic has been locked.
  • Engineerumair
  • Engineerumair's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
5 years 1 week ago #183236 by Engineerumair
Joffm I need merge courseID and year so that I can have result of previous survey and show the statistics on the basis of course but if I give course code 2233 for course machine learning in other term the same id could be assigned to different course so it would not find the correct course.

I ran survey but after selecting department and courses the link breaks

I also need to select courses dynamically on the basis of department and semester selected, I also did find question to ask about semester.

I didn't understand condition regarding semester.
The topic has been locked.
  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
5 years 1 week ago #183239 by Joffm
Sorry, but did you ever do an analysis with nested breaks?
Did you ever work with a pivot table or did a tabulation in SPSS?
In the result table of slave you only have to filter the desired year, the desired term, and you see everything you want.

Do you know the EXCEL formula "concat" (I am not sure if it is called so in English).
If you really thing you need it, concatenate year,semester,couse in the result table.

I didn't understand condition regarding semester.

RTFM: manual.limesurvey.org/Expression_Manager#Implemented_Functions
and
www.php.net/manual/en/function.date.php

Did you adapt the links to your environment?

You have a working example, now it's up to you.
You see the logic, and should be able to change it to your wishes.
I only used built-in functions of LimeSurvey.

To be honest:
I didn't see that you did anything up to now.
I told you that it's up to you to create the first survey till there are the selected courses.
And you delivered a survey with just a drop-down with the departments.

So, read the manual, study the demo surveys which all are in the demo installation.

I spent a lot of my time to help you although I was very busy this week.

One last tip:
there is the general link of the "slave" survey in your LS program.
Just add the necessary parameters manually,
e.g.
&pSAVE=111&pCOURSE=111122223333 ( length=multiple of 4) or whatever you want and start it.

and set the questions to "not hidden" to see what happens.

And I hope you activated both surveys. Otherwise end-url doesn't work.

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
5 years 1 week ago - 5 years 1 week ago #183242 by Engineerumair
Thanks Joffm, for your time spending on this issue while you were busy. I really appreciate your efforts.

Yeah I changed the endurl of master survey and set the server of my slave url and also activated both of them.

I am not talking about if syntax and working I need your if condition purpose why you used semester 13 and 11.

I need a year attribute to have response statistics of lime survey built in statistics.

Off course I know concat function of excel but I don't need to create statistics in excel or other tool I need to use lime survey to show statistics.

I need that participant should select his department and semester after that he would be able to participate in all that course enrolled with but not having a choice to select courses for his own.

I also need a participant table and that only those participants are allowed who are enrolled but I didn't see any participant table and any attribute.
Last edit: 5 years 1 week ago by Engineerumair.
The topic has been locked.
  • Engineerumair
  • Engineerumair's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
5 years 1 week ago - 5 years 1 week ago #183243 by Engineerumair
Hello Joffm, thanks for your efforts, It works well but I what I get is the following

It shows in this section you will rate "1234" of spring 19 I need to show name rather than number

I have also linked the slave survey with itself by the following end url

http://127.0.0.1:8090/limesurvey/index.php/615494?pSAVE={SAVEDID}&pCOURSE={selcourses}&newtest=Y

but never ends and I get "<" in courseid

can you please help now?
Last edit: 5 years 1 week ago by Engineerumair.
The topic has been locked.
  • Engineerumair
  • Engineerumair's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
5 years 1 week ago #183282 by Engineerumair
Hello Joffm, I apologize if I disturbed you a lot. I have created survey successfully and it works great. you may see the attached files

I need last help from you.

Now I need to show the name of course while answering the survey rather than class number.

You may see the in my survey the only courses shown to a student according their semester which is checked from participant table ATTRIBUTE_9

Now I don't need to select department from question, rather it would be get from participant table same as I get semester from it. Do I still need master survey? if yes, then how what will be shown at the first and I also don't let user to select subject from the list to be answered rather he need to answer all of them.
The topic has been locked.
  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
5 years 1 week ago #183299 by Joffm
So,

here you get an example with micro-tayloring.

As yyou said, the maximum number of evaluated courses is ten, okay let's say 12.

The example is only for 5 courses, but you might be able to extend it (just copy the groups and adapt the group description and course selection)

And in the example there are only courses for the first two departments.
But that's up to you.

Well, this is a very easy way to do it.
BUT: You have to restructure your answer table before analyzing.
Here are three students of department 1:


You see, the data of the same course appear in different columns.
To be able to analyze you need the data in one column with additional columns for year and semester.
Maybe you want to know if there is a bias between semesters (e.g. all courses are rated better in spring than in fall, though there are the same teachers)

As I told you before:
It's always advisable to display all questions at first (even if they will be hidden in the real survey) to see and understand the logic.

File Attachment:

File Name: limesurvey...5474.lss
File Size:118 KB

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
5 years 1 week ago - 5 years 1 week ago #183302 by Engineerumair
Thanks for the reply.

Should I go with single survey not with a concept of Master and Slave which I did successfully?


I need to show the name of course rather than course no while evaluating.

You may see in my previously attached survey, only those courses are shown in where student is enrolled in perspective semester and department.

The semester is checked from participant table

I need to have direct evaluation of courses in which student is enrolled in rather then asking him to select department. I know and implement with the help of participant table, but this will then have no concept of subquestions
Last edit: 5 years 1 week ago by Engineerumair.
The topic has been locked.
  • Engineerumair
  • Engineerumair's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
5 years 1 day ago #183572 by Engineerumair
Hello Joffm, thanks for your support I am waiting for the previous question can you please answer, when you get free.
The topic has been locked.
  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
5 years 1 day ago #183582 by Joffm
Which question?

We offered three different designs to do your survey:
1. Each courses has a well defined specific group of questions.
Advantage: Easy to analize
Disadvantage: A huge amount of groups. You may run into trouble because of the length limitation of MySQL

2. Master-Slave
Advantage; A more or less relational database to analyze
Disadvantage: Some brains needed to understand the logic

3. Micro-Tayloring of course-groups
Advantage: Short and easy to unterstand survey
Disadvantage: Some work to restructure the courses before analyzing them.

Now it's up to you.

The semester is checked from participant table

eah I need to make it open survey where student can select their department and his courses will shown to evaluate.


So, what???
Is it an open survey or a closed survey?

What's the difference.
If it's closed you may have the semester and department in the participants table and the subquestion relevance equation of courses is taken from the TOKEN:ATTRIBUTEs in the participants tsble.

If it is an open survey you have no participants table and have to ask for these details.
And the subquestion relevance equation is taken from the choice of department.

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
5 years 19 hours ago - 5 years 19 hours ago #183633 by Engineerumair
Thanks for the reply and providing complete detail.

Issues in existing Master Slave survey we created

1 : It shows the class number rather subject/course name but we need to show course name

2 : The student selects the subjects to be evaluated where I need him to evaluate each and every course he is enrolled

3 : At the end we need to use existing limesurvey report module to show the result of the survey according to departments and courses

Note: It is closed survey we only allow those who are enrolled in our departments
we send them token in email to participate

thanks for the support
Last edit: 5 years 19 hours ago by Engineerumair.
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose