- Posts: 27
- Thank you received: 0
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
order of surveys in dropdown when assigning participants to surveys
- ttenbergen
- Topic Author
- Offline
- Junior Member
Less
More
7 years 6 months ago #140918
by ttenbergen
order of surveys in dropdown when assigning participants to surveys was created by ttenbergen
When assigning participants to a survey, there is a screen where you pick the survey from a dropdown. The sort order of the dropdown _may_ be the age of the survey, not sure. Usually new surveys end up on the bottom of the dropdown, so a lot of scrolling is required to get to a survey you just made, especially if you have a lot of surveys (we have >650). It would be nice to be able to filter that dropdown, but that would be a big-ish change. Could it be sorted the opposite way instead? With newest first? Presumably most users are more likely to be working with newer than older surveys?
The topic has been locked.
- fvanderstarre
- Offline
- Elite Member
Less
More
- Posts: 176
- Thank you received: 36
7 years 6 months ago #140924
by fvanderstarre
Replied by fvanderstarre on topic order of surveys in dropdown when assigning participants to surveys
Surveys are sorted on survey id (this may not really be of any help but just to let you know ....).
The topic has been locked.
- Joffm
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 12713
- Thank you received: 3926
7 years 6 months ago #140931
by Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Replied by Joffm on topic order of surveys in dropdown when assigning participants to surveys
Hi, ttenbergen,
just to add something to fvanderstarre's reply.
After creating a survey you can copy it.
Here you can enter a specific SurveyID.
This way you have an instrument to sort your surveys the way you like.
Best regards
Joffm
just to add something to fvanderstarre's reply.
After creating a survey you can copy it.
Here you can enter a specific SurveyID.
This way you have an instrument to sort your surveys the way you like.
Best regards
Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
The topic has been locked.
- ttenbergen
- Topic Author
- Offline
- Junior Member
Less
More
- Posts: 27
- Thank you received: 0
7 years 6 months ago #141173
by ttenbergen
Replied by ttenbergen on topic order of surveys in dropdown when assigning participants to surveys
Hi Joffm, that would work for me alone. We have about 20 survey coordinators, and I have doubts we could come of with a fool proof human-centered process to generate the next lower unused number. Call me a pessimist.
The topic has been locked.
- holch
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 11746
- Thank you received: 2750
7 years 6 months ago #141188
by holch
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
Replied by holch on topic order of surveys in dropdown when assigning participants to surveys
If you have 20 survey coordinators you are running quite some operation on Limesurvey, I guess. Maybe you can sponsor a feature that allows to sort surveys better, maybe even put surveys in different categories/folders...
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
The topic has been locked.
- ttenbergen
- Topic Author
- Offline
- Junior Member
Less
More
- Posts: 27
- Thank you received: 0
7 years 6 months ago #141192
by ttenbergen
Replied by ttenbergen on topic order of surveys in dropdown when assigning participants to surveys
Yes, we are running about 1000 surveys a year with quite a few participants. I finally got approval to at least move to comfortupdate so we are slightly supporting the program now. I don't think management would be keen on me spending more of their money, though, free is why we went with LimeSurvey.
Actually, sorting isn't a problem for us in the survey screen because we use a naming convention for them that takes care of that, but the dropdown when copying a survey is not sortable.
Actually, sorting isn't a problem for us in the survey screen because we use a naming convention for them that takes care of that, but the dropdown when copying a survey is not sortable.
The topic has been locked.
- holch
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 11746
- Thank you received: 2750
7 years 6 months ago - 7 years 6 months ago #141193
by holch
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
Replied by holch on topic order of surveys in dropdown when assigning participants to surveys
I understand the problem. But it is very short sighted from management. But you are fighting the same fight as many.
But with 1000 surveys a year you would spend quite a few bucks on any other tool. They should get that.
Maybe you can argue with the time spent additionally by each survey coordinator.
But with 1000 surveys a year you would spend quite a few bucks on any other tool. They should get that.
Maybe you can argue with the time spent additionally by each survey coordinator.
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
Last edit: 7 years 6 months ago by holch.
The topic has been locked.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10611
- Thank you received: 3691
7 years 6 months ago #141213
by tpartner
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Replied by tpartner on topic order of surveys in dropdown when assigning participants to surveys
ttenbergen, what LimeSurvey version?
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
- ttenbergen
- Topic Author
- Offline
- Junior Member
Less
More
- Posts: 27
- Thank you received: 0
7 years 6 months ago #141234
by ttenbergen
Replied by ttenbergen on topic order of surveys in dropdown when assigning participants to surveys
Version 2.50.1+160823, hoping to upgrade to newest version as soon as a ComfortUpdate problem is fixed.
The topic has been locked.
- ttenbergen
- Topic Author
- Offline
- Junior Member
Less
More
- Posts: 27
- Thank you received: 0
7 years 6 months ago #141235
by ttenbergen
Replied by ttenbergen on topic order of surveys in dropdown when assigning participants to surveys
Limesurvey is already the work-around for the system they are supposed to be using, which is purpose-made and has worse functionality. We are actually using LS as an attendance tracking system, exporting the whole DB annually and shipping it through another program for reporting.
The topic has been locked.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10611
- Thank you received: 3691
7 years 6 months ago #141245
by tpartner
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Replied by tpartner on topic order of surveys in dropdown when assigning participants to surveys
In LS version 2.5, you can sort the "Add participants to survey" list as follows...
1) Create your own admin template with a custom.js file as described in this post - www.limesurvey.org/forum/can-i-do-this-w...in-admin-page#137666
2) Add this to your new custom.js file:
1) Create your own admin template with a custom.js file as described in this post - www.limesurvey.org/forum/can-i-do-this-w...in-admin-page#137666
2) Add this to your new custom.js file:
Code:
$(document).ready(function(){ // Sort "Add participants to survey" select element if($('#client-script-return-msg select#survey_id').length > 0) { var surveyList = $('#client-script-return-msg select#survey_id'); var surveyOptions = $('option', surveyList); var selectedOption = $(surveyList).val(); // Case insensitive sort /* surveyOptions.sort(function(a,b) { if (a.text.toLowerCase() > b.text.toLowerCase()) return 1; if (a.text.toLowerCase() < b.text.toLowerCase()) return -1; return 0 }); */ // Case sensitive sort surveyOptions.sort(function(a,b) { if (a.text > b.text) return 1; if (a.text < b.text) return -1; return 0 }); $(surveyList).empty().append(surveyOptions); $(surveyList).val(selectedOption); } });
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The following user(s) said Thank You: ttenbergen
The topic has been locked.
- ttenbergen
- Topic Author
- Offline
- Junior Member
Less
More
- Posts: 27
- Thank you received: 0
7 years 6 months ago #141249
by ttenbergen
Replied by ttenbergen on topic order of surveys in dropdown when assigning participants to surveys
I had no idea that the admin template could do anything beyond "looks", but I suppose this is kind of looks.
If I make this change, would it stick with version upgrades, especially ComfortUpdate? DenisChenu walked me through doing some changes in the main code a long time ago, but I abandoned the change eventually because I had to re-do with each upgrade, but if a change in template sticks that would be great!
If I make this change, would it stick with version upgrades, especially ComfortUpdate? DenisChenu walked me through doing some changes in the main code a long time ago, but I abandoned the change eventually because I had to re-do with each upgrade, but if a change in template sticks that would be great!
The topic has been locked.