Form failed to load

1. What is the problem? Be very detailed.
the problem is around rows 90-100. Row 97 (eposition or subcounty Count)
I need the system to count the beneficiaries in a selected subcounty and it should be at least a 4 digit figure.
For example

  1. if Suncounty code is already generated as KA-05/KK
  2. Household count within subcounty say 0002
  3. Member no : 01
  4. The member code is concocted as reflected in row 99: KA-05/KK-0002-01

2. What app or server are you using and on what device and operating system? Include version numbers.

Form failed to load
https://enketo.getodk.org/preview?form=https://xlsform.getodk.org/downloads/g4uakecq/aAGkUFjF6QtURWgA5nytQD%20(13).xml

3. What you have you tried to fix the problem?
Tried to recode but without success

4. What steps can we take to reproduce the problem?
Help overcome the error

5. Anything else we should know or have? If you have a test form or screenshots or logs, attach below.
Error trying to parse XML instance 'subcountycode' cannot read property constructor or undefined
External instance 'subcountycodes' is empty
External instance 'subcountycode' is empty
Form logic error.instance
"_session" doesn't exist in model

Hi @Fexavious
We're glad you're here. When you get a chance, please introduce yourself on this forum thread. I'd also encourage you to add a real picture as your avatar because it helps build community!

Could you attach the xls form so that we can take a look at what's going on?

Thanks @Grzesiek2010
I am new here but I have been using odk for a while. But this time round am challenged, attached a form here. Form.xlsx (48.4 KB)

Probably you are trying to preview your form after converting it using the online converter https://getodk.org/xlsform/ am I right?
If so please notice that the converter doesn't allow you to attach your external csv file which you use in pulldata and it's required so then if you launch enketo it's not available.
If you want to preview such a from with enketo you can do that using ODK Central for example where you can add a form then external files and preview using enketo.

1 Like

Thanks again @Grzesiek2010 !
Yes, I attempted to review the form in order to see if my pulldata lines works well.
I am concerned whether they are properly execute what I want, because the lines 95-100 seem not to return data!!
Best regards

So yeah as I said you can do that via ODK Central (if you want to use enketo) or convert the form to xml then upload along with your csv file to ODK Collect (using ODK Central or directly from your computer using adb and then you will be able to test if your form works as expected.