getodk/validate

ODK Validate does not validate if the variable is used before it is defined!

getodk-bot opened this issue · 2 comments

Issue by hjameelq
Tuesday Aug 18, 2015 at 08:27 GMT
Originally opened as getodk/getodk#1166 (1 comment(s))


Hi,

I couldn't upload excel file or so, but I have used here a variable before it is defined, and it didn't throw up any problem when I tried to validate the form, but the server didn't accept to upload it due to xform def problems.

Please have a look at pic attached, I 'm sorry I couldn't upload the excel file.

odk-issue

Comment by mitchellsundt
Tuesday Aug 18, 2015 at 17:21 GMT


See my attempt at duplicating this form here:

https://drive.google.com/file/d/0ByL2Z0RJHwGaaEFodGpmUUpLck0/view?usp=sharing

This works both for uploading to ODK Aggregate and for downloading, filling out, and running.

This doesn't look like a problem. There isn't really a 'before' and 'after' concept in XForms.