Exporting note to data

Dear all,
I am trying to export note labels which are summaries extracted from previous response to data but wasn't successful so far. I used the calculate as suggested somewhere here but not yet there. Here is a sample of an attempt to export the label from 'text' field to data. Any help would be appreciated

Thank you
Ermias
Exporting_note_2data.xlsx (13.1 KB)

Hi!

Try:
Exporting_note_2data.xlsx (13.0 KB)

Hope this helps - great day!

1 Like

There is a function to get the label of a choice, see https://getodk.github.io/xforms-spec/#fn:jr:choice-name and https://docs.getodk.org/form-operators-functions/ (choice-name)
This is the preferable approach, as:

  • no if coding update necessary if labels change
  • also working for multiple languages in a form.