enketo / enketo-dristhi

Customized enketo-core to be used in hybrid Android app called Dristhi
Apache License 2.0
2 stars 10 forks source link

Form save does not work on Dristhi app (and on other browsers) #27

Closed kirang20 closed 10 years ago

kirang20 commented 10 years ago

Hi Martijn,

When I try to save form I get the below exception: Javascript Log. Message: Javascript Error: , msg: Uncaught ReferenceError: form is not defined, url: file:///android_asset/www/enketo/js/enketo-dristhi-combined.min.js, line: 26875, lineNumber: 27,166, sourceId, file:///android_asset/www/enketo/js/enketo-dristhi-combined.min.js Javascript Log. Message: Uncaught ReferenceError: form is not defined, lineNumber: 26,875, sourceId, file:///android_asset/www/enketo/js/enketo-dristhi-combined.min.js

The line number is with respect to the forked enketo-dristhi repo, https://github.com/SEL-Columbia/enketo-dristhi/tree/ziggy_integration.

This same error is reproducible on Chrome using http://dristhi-dev.enketo.org/template.html?formName=EC_Registration_EngKan&instanceId=a&debug=true.

Can you please help us with this issue, do we need to do something to fix this? Most likely this is the last issue we need to fix before release :)

MartijnR commented 10 years ago

Thanks for finding this!