Error message seen when trying to edit a submission

No, only when I try to edit an existing submitted form

OK, would you mind trying to validate your xlsform with this online validator and see if it has any syntax issues?

Only the usual stuff: it says it doesn’t recognise kobomatrix type of questions and it flags that there are groups without labels - nothing seemingly related.

OK, so as a check, could you remove the kobomatrix and then see if it can capture any other issues?

Only the missing label for certain groups, as well as another yellow error message I didn’t notice before about the language:

The following language declarations do not contain valid machine-readable codes: english. Learn more: http://xlsform.org#multiple-language-support

@gbompani, maybe a screenshot of the same would be much helpful.

OK, could you also show us the top part of the online validator?

sure!
part1 part 2 part 3

Still above.

There is nothing above, only the instructions. Check it out!

1 Like

OK. Seems like everything is OK with the xlsform. As a final check would you mind doing the following:

  • Upload this xlsform as a separate dummy project
  • Make some dummy entries
  • Check them by editing the submissions from your KoBoToolbox server

Hi dear,
this is actually a dummy project/dummy entries. Basically i entered a dummy entry and tried to change it right after, and it was impossible.

@gbompani, just wanted to ensure that we could replicate the same issue with the other project as well (when we have the same xlsform used).

Nope. I tried with two more forms and it’s not working. I suspect the problem is somehow linked to part of the form where we have repeat group, but i cannot pin where or why

OK, could you share your xlsform with the community? Maybe the community could help you solve your issue?

Hi @gbompani
Could you try to filter in excel for all the repeat questions and run your assessment first before you send the XLS form? As it is this is a case of a minor omission on your end which you should be able to easily solve by inspecting your XLS form.

Regards,
Stephane

1 Like

Hi @stephanealoo, thank you (and as always @Kal_Lam ) for your help.
I also think there must be a problem with the repeated groups, but I still can’t identify it. Due to the shape of the data we have to collect, we introduced several repeated groups, within an overarching group that can also be repeated. Do you think this is the source of the problem?

You can see a screenshot of the filtered code below.

@gbompani, have you tried this with ODK Collect to see if the android app supports this design?

On the face of it this looks like the same issue as the bug reported in Calculate in dynamic repeat activated despite skip - giving error for online submission edit

If this is indeed the same issue, the Github ticket is issue with repeats: context node not found · Issue #191 · enketo/enketo · GitHub and its related bug ticket Calculate type in dynamic repeat groups error · Issue #113 · enketo/enketo · GitHub

Github states

Calculate type inside a dynamic repeat (repeat_count) with a reference in relevant creates an error when the repeat is skipped. Case cannot be submitted online. So, also edit of submitted cases is no more possible.
The bug is found on new submission with Enketo and on re-editing/submit for data at the KoBo server (from Collect offline).

3 Likes