Errors in deployed form during enumerator training

Hi guys,

I ran an enumerator training on the instrument which is to be used. This group had 15 persons. Four enumerators encountered errors at different stages of the training. None of the errors was replicated or experienced by the same enumerator. I have attached screenshots of two of the error messages received, as well as the xls form. Can you review and give indication as to why these errors could occur, and not by every enumerator. I have a second training tomorrow.

aciDpSVY5S7XBhGmckvbPa (10).xlsx (48.9 KB)

Hi @scherrie,

Looking at the screenshot that you have shared, it seems like there is still syntax errors within your xlsform. I tried verifying it with the XLSForm Online Validator and could still see errors

image

Hence, my advise for you would be to verify your xlsform and fix all the syntax errors (step by step).

Have a great day!

Hi Kal, i have taken your advice and have corrected most of the errors. However, I continue to receive this error about the repeat group zero repetitions , but the repeat group seems to be working fine. I have included a picture of the error message and the xls file. Can you advise me on how to fix this issue please? I have enumerator training at 9:30 in the morning and hope to get this resolved prior.
Social Protection.xlsx (50.4 KB)

Hi @scherrie,

Please disregard this. It’s just a notice shown by the XLSForm Online Validator (on repeat group). If you would like to learn more on this, you could have a look at the post discussed earlier:

Have a great day!

Thank you. I could not understand why it was showing. I feel relieved. In light of this it seems I have corrected all of the syntax errors.

I will definitely read up on repeatable groups.

Have a great day.

1 Like

I have noticed one error in the form having correcting the syntax error. If i remove it the error returns. However the label in the form shows which should not.
Social Protection.xlsx (50.4 KB)

Hi @scherrie,

It’s because row number 218 from your survey tab has a label {'control': {'appearance': 'field-list'}, 'name': 'Rank_two_greatest_concerns', 'type': 'begin_group'} for a begin_group question. You could delete the label and keep it blank as it’s simply a begin_group.

Have a great day!

but it created an error when i used toe odk form to check the syntax

Hi @scherrie,

You could discard this error as it support with the forum builder UI in KoBoToolbox. However, if you wish to have a begin_group label, please feel free to add anything that is readable and not like the one displayed in row number 218 that is unreadable {'control': {'appearance': 'field-list'}, 'name': 'Rank_two_greatest_concerns', 'type': 'begin_group'}.

Have a great day!

thank you!

1 Like

Hi,

Perhaps the missing “end_repeat” caused error and the duplicates in choices as well…
yo7ra60 220 Turks and Caicos Islands (UK)
yo7ra60 220 Gibraltar (UK)

Regards,
Bernie

1 Like

Thanks. But I have ‘end repeat’. I changed the duplication in choices and that error was fixed.

1 Like

Hi @scherrie
I noticed a problem with your tool on the calculation Tier_1
image

In the calculation, you have referenced calculation questions that appear within repeat groups. Unfortunately, you need to refer to the specific repeat instance you need for the calculation. You can do this by using the index repeat function

Stephane

1 Like

thank you stephanealoo,

I will review. Admittedly I am not good with programming, so allow me to reach back out to the community for assistance in resolving. I have made some revisions to the form. After I try I will upload the new version and let me now if it works.

1 Like

HI @scherrie
Not really necessary to back out; the index repeat function will definitely sort you out if you go through the article.
Stephane

1 Like

indexedrepeat.xlsx (51.7 KB)

Hi Stephanealoo and Kal can you look at the file and tell me if I have correctly dealt with the repeat group. I am still receiving the following error when I use odk to test the syntax

Repeat behavior has changed. Previously, some clients like ODK Collect prompted users to add the first repeat. Now, the user will only be prompted to add repeats after the first one. Representing 0 repetitions will require changing the form design. Rows 134 and 136.

Hi
This issue you have raised has been discussed here

1 Like

Honestly,

I am not understanding what I should do. Did I address the issue with the indexed-repeat properly?

Hi @scherrie
Did you manage to read the articles I had shared? It is important to really have a look at topics that have been previously covered. Unfortunately, it is not possible to provide form specific support for things that have been extensively discussed before. If you followed the last two articles you will be able to easily work out your own solution.

Stephane

I have read the articles. The challenge for me and the repeat group is that the repeat count for the additional preceeded the repeat group. I am unsertain if I am to remove that dynamic repeat.

I am sorry that I have not clearly understood the articles