View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|07379||Feature requests||Conditions||public||2009-12-19 01:08||2009-12-19 01:08|
|Summary||07379: Toggle "Mandatory" setting on questions|
|Description||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.
|Additional Information||A possible solution: Add a button/input to survey settings that would toggle the mandatory states. |
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!).
|Tags||No tags attached.|
debugging surveys (groupwise) with lot's of questions already marked as 'mandatory' can be very time-consuming.
I normally toggle the mandatory settings directly in the mysql-table, to bypas this problem.
This function is one of the 'most wanted', in my opinion!
A simple list, with all the questions and their mandatory-stting for quick editing would be usefull.
|There is a similar idea at http://ideas.limesurvey.org/ideatorrent/item/35/|
I use the Excel survey structure import/export feature (documented here http://docs.limesurvey.org/Excel+Survey+Structure) for this. By keeping a master copy of the survey in Excel, you can easily blank some or all of the mandatory fields during testing. You can also easily re-order or remove blocks of groups or questions (e.g. to test mandatory features at the end of the survey without having to fill out all of the preceding questions).
This feature is available starting in version 1.92 (using a patch) and 2.0
|Now that we have all questions listed at the survey logic file another option might be to simply add a checkbox for each question there together with a "mark all" box on top and/or at the button and a simple "save" button.|