Form-builder allows invalid matrix question Data Column Suffix
value
#3326
Labels
bug
Things broken and not working as expected
formbuilder
Mainly changes to our coffeescript part of KPI
Front end
has PR
Description
The
Data Column Suffix
field in the matrix question settings does not replace spaces with underscores as it does with other question names, therefore leaving it open to user error and incomplete data exports, such as in this case: https://community.kobotoolbox.org/t/missing-data-on-export-yet-its-there-in-the-tool-its-a-group-question/20130The Enketo preview gives this error:
Strangely the form opens and one can submit without error. When one tries to export with KPI, the data in the matrix is not included because of this now invalid name (fortunately the legacy export includes the data).
Steps to Reproduce
Data Column Suffix
fieldExpected behavior
The spaces are replaced to create a valid field value.
Actual behavior
Invalid values are allowed through.
The text was updated successfully, but these errors were encountered: