I am currently working on updating a form we use annually for data collection. I uploaded a copy of the form and noticed that our pull data function appears to not be able to access the media file it is pulling from.
I have double checked that the media is analogues (also tried a cloned last years form with last years data and that did not work as well) to prior year forms. The column names and pulldata functions are the same as in prior years when the form worked. The error when viewing the form is " TypeError: e is null".
I have also uploaded the form to ODK - XLSForm Online and it provided no errors or issue for the xlsx form attached.
I am a new user so I cannot embed any media or files.
Welcome to the community, @Soren! Could you kindly share with the community a screenshot of your error message so that the community should be able to understand it pictorially and help you out?
This is delayed follow up to this problem that hopefully will help others.
The cause appeared to be the use of ‘autocomplete’ appearance parameter in the ‘select_one’ or ‘select_one_from_file’ in certain cases. The certain cases which caused the problem were hard to determine exactly and others had slightly different experience than us but the following post was very helpful: https://community.kobotoolbox.org/t/enketo-typeerror-cannot-read-properties-of-null-reading-dataset/27328
In our case it seemed like it was cause by using with ‘select_one’ referencing the same choices list a 2nd time after the first reference used ‘autocomplete’, or it was caused by using ‘select_one’ in a nested repeat. In our testing, it didn’t seem like ‘autocomplete’ could be used after the nested repeat for any list so sadly, we modified our form to remove all the ‘autocompletes’ after the nested repeat.