View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|08490||Feature requests||[All Projects] Response browsing||public||2013-12-25 05:09||2019-02-12 10:15|
|Target Version||Fixed in Version|
|Summary||08490: Do not display unchecked options in multiple choice (checkbox questions|
This is a suggestion about displaying the results of multiple choice (i.e., checkbox) questions.
Consider the following questions as an example:
Please indicate what foods you like:
Currently, when the survey responses are displayed, multiple choice responses are displayed by repeating the question + all of the available choices + yes (or blank) beside each one. The current response view is as follows:
Please indicate what foods you like:(Hamburgers) Yes
It would be nice to have the option of displaying the results as follows:
Please indicate what foods you like: Hamburgers
Thanks for considering this!
|Tags||No tags attached.|
This looks very similar to a problem I solved, where I wanted something like "Hamburgers, Pizza, Steak" in the detailed admin notification email template.
The function definition is:
For example for the above food multiple choice selections you would have: listifop( 'value', '==', 'Y', 'question', ',', that.food.sgqa )
Just to clarify the idea behind the suggested new function "listifop" is that it will basically behave like the countifop function but it's return value will be like that of the implode function.
So if there are no objections I'd like to submit a pull request for this with the following code which I have already been using in my survey:
function exprmgr_listifop( $args )
Where displaying result ?
In export : do your own export
Displaying result in email.
Submitted PR #1215, please review
|2013-12-25 05:09||rjm972||New Issue|
|2019-01-28 19:52||Jugen||Note Added: 50331|
|2019-01-29 08:55||Jugen||Note Added: 50333|
|2019-01-31 16:42||Jugen||Note Added: 50374|
|2019-02-01 09:14||DenisChenu||Note Added: 50381|
|2019-02-01 09:49||Jugen||Note Added: 50382|
|2019-02-07 15:21||Jugen||Note Added: 50443|