Validation error when I connect two forms

Hi @Kal_Lam and community, I am using two forms. The first one for collecting basic details about farmers, through a repeat group. Then when I try to get these details in the second one (child form), I get an error message (screen shot attached).

Yes, I have validated both forms with the ODK online tool which is not returning any errors.

I checked the online community for answers but this issue had been reported without any resolution.

Please help on how to use indexed repeat in the xls form. I am attaching both the forms for your review. Thanks in advance


form1.xlsx (48.3 KB)
child form.xlsx (20.2 KB)

@seedsalp

Currently, dynamic data attachment from repeated answers in the parent form is not supported in KoBoToolbox.

1 Like

many thanks @naylinsoe and @Kal_Lam

1 Like

I think there is something fundamentally wrong with your 2 forms…

First the Parent form has an end_repeat but no corresponding begin_repeat :thinking: This should have immediately thrown an error.

Your ‘parent’ form also explicitly references formfr1 and formcb1 as xml-external files, but then never uses them. :face_with_diagonal_mouth:

Second, your child form has, likewise, an end_group without a corresponding begin_group. Further, you are referencing ${block} using an indexed-repeat(), but ${farmerreg} isnt a repeat!?! :face_with_diagonal_mouth:

1 Like