Idea sandbox Idea sandbox
Popular ideas Popular ideas
Ideas in development Ideas in development
Implemented ideas Implemented ideas

Contributor tpartner

Toggle "Mandatory" setting on questions  
Written by tpartner the 19 Dec 09 at 01:08. Related project: 1.x all. New
I would like to see a tool that could toggle the "Mandatory" setting on all questions in the survey from "on" to "off" and vice versa.

This would make the Q/A process on long surveys much easier - one wouldn't need to answer every question just to check a fix on page 16 of a survey.
13
votes
up equal down
Solution #1: Add a button/input to survey settings that would toggle the mandatory states.
Written by tpartner the 19 Dec 09 at 01:08.
To toggle the questions to optional, the button would query the DB, find all questions in the current survey with mandatory=Y and change them to mandatory=M.

We need to use "M" so we can find them to toggle them back later.

The system would see "M" as non-mandatory so all of these questions could now be skipped in a Q/A process.

This way only the questions that the survey author had set to mandatory would be affected.

To toggle the questions back to mandatory, the button would query the DB, find all questions in the current survey with mandatory=M and change them to mandatory=Y.

I've put together a little php script to demonstrate the concept that you can grab at http://partnersinc.biz/testsites/misc_images/mandatory_toggle.txt (can't seem to attach anything here!).
7
votes
up equal down
Solution #2: Use a session variable to disable the "checkmandatorys" function
Written by tpartner the 19 Dec 09 at 14:40.
A more elegant solution may be to have the button/input set a session variable to disable the "checkmandatorys" function. (thanks Carsten)

Some red text could then be displayed at the bottom of the survey indicating that it is in "Q/A" mode and all questions are optional.

See the 2 comments or propose a solution (latest comment the 20 Nov 11 at 14:46) >>

Force an answer to always be displayed at the end of a randomized list  
Written by tpartner the 4 Jan 10 at 23:32. Related project: 1.x all. Already implemented
When using the "Random answer order" question attribute, it would be nice to be able to have one answer always appear at the end of the list.

For example, in a question with the answers:
"Option 1"
"Option 2"
"Option 3"
"Option 4"
"None of the above"

One could have the Options 1-4 randomized but "None of the above" always appear last.

There is a demo of the concept at http://www.partnersinc.biz/surveys//index.php?sid=89344&newtest=Y&lang=en and a JavaScript workaround at http://docs.limesurvey.org/tiki-index.php?page=Workarounds&structure=English+In structions+for+LimeSurvey#Partially_Randomized_Answers_Multiple_Options_amp_List _radio_questions

The same concept could be applied to questions using the "Sort answers alphabetically" attribute.
No solutions.

Add a comment or propose a solution >>

Export survey start language with data  
Written by tpartner the 26 Sep 09 at 21:33. Related project: 1.x all. New
I think it would be useful to be able to record and export the survey start language for multi-lang surveys, much like it is now possible to record the time-stamp or IP address. So if a survey was accessed with something like "http://www.mysite.com/surveys//index.php?sid=11111&newtest=Y&lang=fr", the "fr" would be in the exported data.

This would allow the data to be filtered by language.

A related idea would be to allow filtering by start language in the Statistics panel.
1
votes
up equal down
Solution #1: Export survey start language with data
Written by tpartner the 26 Sep 09 at 21:33.
Not sure how it would be done in the back end but basically add a checkbox to the "Notification & data management" panel to include the startlanguage column of the lime_survey_SID table in the exportable data.

Add a comment or propose a solution >>