Closed MartijnR closed 6 years ago
Thanks @pbowen-oc ;)
The last one is intriguing. Can you please send the XForm so I can check what the error is?
Just in case it is a bug, I'm holding off on the release of the new enketo-validate (but the fixes are in latest master)
All done in version 1.4.0
. The form you sent now provides this feedback when run in --oc
mode
if the validation is run after XForm manipulation (that e.g. adds the "no-collapse" appearance):
Appearance "no-collapse" for question "ae_rg" is not valid for this question type (repeat).
Appearance "auto-complete" for question "AEBL1" is not supported.
Appearance "no-collapse" for question "VITALS_RG" is not valid for this question type (repeat).
Appearance "multiline" for question "colors" is not valid for this question type (select).
Appearance "no-collapse" for question "DINNER" is not valid for this question type (repeat).
Appearance "no-collapse" for question "DINNER2" is not valid for this question type (repeat).
@MartijnR - How come "no-collapse" is not valid for repeating groups? It thought those can be collapsed if the "no-collapse" appearance is not used.
They don't do anything on repeats, only on groups. I think the code that adds them is too aggressive as it adds them to both.
Note: for a repeat pyxform creates both a <group>
and a <repeat>
.
Appearance "horizontal-compact" for question "temp_units" is deprecated, use "compact" instead Question found in body that has no ref attribute Appearance "analog-scale" for question "vas_question" is not supported Appearance "vertical" for question "vas_question" is not valid for this question type (input) Result: Invalid