Check out the LimeSurvey source code on GitHub!
Welcome, Guest
Username: Password:
  • Page:
  • 1
  • 2

TOPIC: Survey for Student Schedule (list of registered courses)

Survey for Student Schedule (list of registered courses) 4 years 8 months ago #70466

  • ogursoy
  • ogursoy's Avatar
  • Offline
  • Fresh Lemon
  • Posts: 11
  • Karma: 0
I am looking for a solution in order to set up a student survey as the following:

Survey questions are targeting the courses that the students registered.

Is there any way to use tokens in order to alter array questions (with a list of courses student registered)?

Thank you.
The administrator has disabled public write access.

Survey for Student Schedule (list of registered courses) 4 years 8 months ago #70472

  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 6207
  • Thank you received: 1375
  • Karma: 538
Hi ogursoy (og_).

You cannot directly alter the questions - all questions, labels and sub-questions/answers must be defined before activating the survey.

However, if you are using tokens, you can:
- Set a custom attribute with the student's course(s)
- Create a multiple-options question with all possible courses
- Hide this question with CSS or JavaScript
- Use a {TOKEN:ATTRIBUTE_1} placeholder and JavaScript to get the custom attribute value(s) and check the appropriate options
- Use array filters to show only the appropriate array rows in following questions

Alternatively, you could have a whole mess of array questions and use conditions to hide/show them depending on the custom attribute.
Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The administrator has disabled public write access.
The following user(s) said Thank You: ogursoy

Survey for Student Schedule (list of registered courses) 4 years 8 months ago #70474

  • ogursoy
  • ogursoy's Avatar
  • Offline
  • Fresh Lemon
  • Posts: 11
  • Karma: 0
Thank you very much. One more question, since the number of registered courses per students varies, do you think that might cause a problem in your solution(s)?
The administrator has disabled public write access.

Survey for Student Schedule (list of registered courses) 4 years 8 months ago #70475

  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 6207
  • Thank you received: 1375
  • Karma: 538
Nope. The multiple-options and the arrays will have sub-questions for all possible courses but only those that the student took would be shown.

So the engineering majors would have 8 courses and the arts majors would have 3 :laugh:
Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The administrator has disabled public write access.

Survey for Student Schedule (list of registered courses) 4 years 8 months ago #70476

  • ogursoy
  • ogursoy's Avatar
  • Offline
  • Fresh Lemon
  • Posts: 11
  • Karma: 0
:) Thank you Tony, I appreciate your help very much. What you are doing within this community is really great. If I dont bother you, how can I bind instructor information to each courses? Namely, I also want to have reports based on instructors? :D cheers.
The administrator has disabled public write access.

Survey for Student Schedule (list of registered courses) 4 years 8 months ago #70477

  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 6207
  • Thank you received: 1375
  • Karma: 538
It seems to me that the course names wouldn't change depending on instructor so that wouldn't affect what we've discussed to now.

I would add more custom tokens with the instructors and then use javaScript to load hidden questions with those values.

You can also export the token values with the survey data.

I should point out that all of these token solutions are conditional on your survey being non-anonymous. If the survey is set to anonymous there is no connection to the token table.
Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Last Edit: 4 years 8 months ago by tpartner.
The administrator has disabled public write access.

Survey for Student Schedule (list of registered courses) 4 years 8 months ago #70478

  • ogursoy
  • ogursoy's Avatar
  • Offline
  • Fresh Lemon
  • Posts: 11
  • Karma: 0
yes, I have noticed what you have emphasized recently regarding token table. I am fresh in lime. I wonder how other universities implementing similar scenarios. Thanks ,Tony.
Regards
The administrator has disabled public write access.

Survey for Student Schedule (list of registered courses) 4 years 8 months ago #70479

  • ogursoy
  • ogursoy's Avatar
  • Offline
  • Fresh Lemon
  • Posts: 11
  • Karma: 0
Also where can find (if possible) ER diagram of the whole lime project?
The administrator has disabled public write access.

Survey for Student Schedule (list of registered courses) 4 years 8 months ago #70482

  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 6207
  • Thank you received: 1375
  • Karma: 538
I'm not sure where or if there is an ER diagram. Maybe try to find c_schmitz in on the IR channel and ask him.
Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The administrator has disabled public write access.

Survey for Student Schedule (list of registered courses) 4 years 8 months ago #70483

  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 6207
  • Thank you received: 1375
  • Karma: 538
Oh, and please post the link back here if you find one so others can find it in a search.
Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The administrator has disabled public write access.

Survey for Student Schedule (list of registered courses) 4 years 8 months ago #70505

  • Mazi
  • Mazi's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 5977
  • Thank you received: 368
  • Karma: 260
An ER diagram doesn't exist. All we can offer is an outdated database layout: docs.limesurvey.org/LimeSurvey+1.8+datab...meSurvey+development

Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)limesurvey.org'"
The administrator has disabled public write access.

Survey for Student Schedule (list of registered courses) 4 years 8 months ago #70524

  • ogursoy
  • ogursoy's Avatar
  • Offline
  • Fresh Lemon
  • Posts: 11
  • Karma: 0
If you dont mind I will go for reverse engineering and get a er diagram if all DB is well formed with constraints and well defined keys. :)

I appreaciate your help very much. Thanks.
Cheers
The administrator has disabled public write access.

Survey for Student Schedule (list of registered courses) 4 years 8 months ago #70533

  • Mazi
  • Mazi's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 5977
  • Thank you received: 368
  • Karma: 260
If you create an ER-diagramm please share it here later so we can add it at our wiki.

Thanks!

Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)limesurvey.org'"
The administrator has disabled public write access.

Survey for Student Schedule (list of registered courses) 4 years 8 months ago #70553

  • ogursoy
  • ogursoy's Avatar
  • Offline
  • Fresh Lemon
  • Posts: 11
  • Karma: 0
Here is the file to download:
click

Thumb :D :

The administrator has disabled public write access.

Survey for Student Schedule (list of registered courses) 4 years 8 months ago #70555

  • ogursoy
  • ogursoy's Avatar
  • Offline
  • Fresh Lemon
  • Posts: 11
  • Karma: 0
FUI The above link will vanish tomorrow.
Cheers.
The administrator has disabled public write access.
  • Page:
  • 1
  • 2
Moderators: ITEd
Time to create page: 0.310 seconds
Imprint                   Data Protection Statement                  Revocation information and revocation form