You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add an boolean export parameter show_choice_labels that will accept true or false. This option will allow the labels of choices to be included in the submission data being exported. There are two possibilities:
For each row where there is a choice was selected the user will see the label of the choice instead of the choice itself.
We add an extra column, 'field_name:label' that will include the label of the choice in the 'field_name'.
Given the XLSForm:
| survey |
| | type | name | label |
| | select one fruits | fruit | Fruit |
| | | | |
| choices | list name | name | label |
| | fruits | 1 | Mango |
| | fruits | 2 | Orange |
| | fruits | 3 | Apple |
Export select choices with their name or labels
Add an boolean export parameter
show_choice_labels
that will accepttrue
orfalse
. This option will allow the labels of choices to be included in the submission data being exported. There are two possibilities:Given the XLSForm:
The export currently will look like:
With the export parameter
show_choice_labes=true
then we have the same export as:For select multiple questions:
The export currently will look like:
With the export parameter
show_choice_labes=true
then we have the same export as:For select multiple questions where the parameter
value_select_multiples
istrue
andsplit_select_multiples
is also true, the export will be as:With
include_labels=true
:Ref
Aha! Link: https://ona.aha.io/features/PROD-340
The text was updated successfully, but these errors were encountered: