View Issue Details

This bug affects 1 person(s).
 2
IDProjectCategoryView StatusLast Update
07389Feature requestsSurvey editingpublic2013-06-12 15:23
ReporterEvan Assigned ToDenisChenu  
PrioritynormalSeverityfeature 
Status closedResolutionfixed 
Summary07389: Totals fields for Array (Multi Flexi) (Text) (numbers only)
Description

We have a survey that requires participants to fill in a time sheet. We would like to show them the total hours for each task. We also need to record these totals in the survey results.

Additional Information

A possible solution: Add three additional attributes for Array (Multi Flexi) (Text) (numbers only)
1 it might be worth making the question Array (Multi Flexi) (Text) (attribute: numbers only) into it's own question type

2 add the following attributes:
Show totals

  • row = total for each row (an additional column)
  • col = total for each column (an additional row)
  • both = totals for both columns and rows (an additional row and column)

    store totals in results

  • 1 = store column/row totals in results

    Grand total

  • 1 = show grand total only
  • 2 = store grand total in results (do not display)
  • 3 = show grand total and store in results

Java script would calculate totals for columns/rows and would be able to hand negative numbers and floating point numbers.

for visual example see
http://apps.acu.edu.au/~evanw/LimeSurvey_custom-q-type_array-mulit-flexi-text-numbers-only.html

Please ignore styling as this should be done with CSS.

I can help with the HTML side but can't help with JS, DB LS admin stuff.

TagsNo tags attached.
Bug heat2
Story point estimate
Users affected %

Users monitoring this issue

There are no users monitoring this issue.

Activities

DenisChenu

DenisChenu

2013-06-12 15:23

developer   ~25507

Don't understand .

Already there:
http://manual.limesurvey.org/wiki/Question_type_-_Array_%28Texts%29#Show_totals_for_.28show_totals.29

To enter value in DB: use EM.

DenisChenu

DenisChenu

2013-06-12 15:23

developer   ~25508

ALready there actually

Issue History

Date Modified Username Field Change
2013-06-12 15:23 DenisChenu Note Added: 25507
2013-06-12 15:23 DenisChenu Note Added: 25508
2013-06-12 15:23 DenisChenu Status acknowledged => closed
2013-06-12 15:23 DenisChenu Assigned To => DenisChenu
2013-06-12 15:23 DenisChenu Resolution open => fixed
2013-06-12 15:23 DenisChenu Fixed in Version => 2.05+
2019-11-01 17:25 c_schmitz Category Survey design => Survey editing