OpenClinica / enketo-oc

OpenClinica's fork of the Enketo web forms monorepo
Apache License 2.0
0 stars 1 forks source link

Check signature item type and responses in enketo validate #71

Open malcjackson opened 1 year ago

malcjackson commented 1 year ago

This is a feature request for Enketo validate, not core enketo.

When a form template is uploaded and includes an item with an oc:external value of 'signature', enketo validate should check that the item with this attribute is of type select_multiple, and that it has only one possible response. If this item type or response list requirement is not meant it should return an error.

MartijnR commented 1 year ago

Thanks! I actually implemented this in master, but I made it a warning instead of an error. I will change that.

MartijnR commented 1 year ago
pbowen-oc commented 1 year ago

Message changed in OpenClinica/enketo-oc#62