Homec4science
Diffusion epiph 48af2a82d6fa

continue refactor single-/multiple-selection table-question answer-schema &…

Authored by patte <patrick.recher@gmail.com> on Apr 7 2016, 23:09.

Description

continue refactor single-/multiple-selection table-question answer-schema & export

update schema to fit the following export format:

single-selection (radio)
  | question.code |
  |   choice.value |
multi-selection (checkbox)
  | question.code_choice.variable | question.code_choice.variable |
  |                                            1/0 |                                             1/0 |

remove choices.$.variable from single-selection (radio) and choices.$.value multi-selection (checkbox) questions
add migration to remove unused keys
update view to only show the corresponding field
sanitize choice.variable to choice.value for autoform options
autoform multiple-choice and table questions now store answers in the same format

Event Timeline

patte <patrick.recher@gmail.com> committed R7177:48af2a82d6fa: continue refactor single-/multiple-selection table-question answer-schema &… (authored by patte <patrick.recher@gmail.com>).Apr 7 2016, 23:09