Good day all! please I nee a help with regards to the form I am buildig

I created the for using excel xslx everything is working perfectly only cascade is giving me head. if I preview the for using encato if will work smoothly and if I try to deploy the for to kobocollect then it will give an error. please I need your help ASAP my field officer will start going to the field on 12/11/2022 to collect data. thank you the following my cascade:

list_name name label state
state 1 Nassarawa
state 2 Niger
state 3 Platuea
lga 1 Akwanga 1
lga 2 Awe 1
lga 3 Doma 1
lga 4 Karu 1
lga 5 Keana 1
lga 6 Keffi 1
lga 7 Kokona 1
lga 8 Lafia 1
lga 9 Nasarawa 1
lga 10 Nasarawa Egon 1
lga 11 Obi 1
lga 12 Toto 1
lga 13 Wamba 1
lga 1 Agaie 2
lga 2 Agwara 2
lga 3 Bida 2
lga 4 Borgu 2
lga 5 Bosso 2
lga 6 Chanchaga 2
lga 7 Edati 2
lga 8 Gbako 2
lga 9 Gurara 2
lga 10 Katcha 2
lga 11 Kontagora 2
lga 12 Lapai 2
lga 13 Lavun 2
lga 14 Magama 2
lga 15 Mariga 2
lga 16 Mashegu 2
lga 17 Mokwa 2
lga 18 Munya 2
lga 19 Paikoro 2
lga 20 Rafi 2
lga 21 Rijau 2
lga 22 Shiroro 2
lga 23 Suleja 2
lga 24 Tafa 2
lga 25 Wushishi (Garki Garage) 2
lga 1 Barkin Ladi 3
lga 2 Bassa 3
lga 3 Bokkos 3
lga 4 Jos East 3
lga 5 Jos North 3
lga 6 Jos South 3
lga 7 Kanam 3
lga 8 Kanke 3
lga 9 Langtang North 3
lga 10 Langtang South 3
lga 11 Mangu 3
lga 12 Mikang 3
lga 13 Pankshin 3
lga 14 Qua’an Pan 3
lga 15 Riyom 3
lga 16 Shendam 3
lga 17 Wase 3

Hi @ncne2022 and welcome to the community!

Can you share a screenshot of the error you are getting in Kobocollect app?

1 Like

Thank you sir! this is the error"unable to deploy
your form cannot be deployed because it contains errors:

The name column for the β€˜lga’ choice list contains these duplicates: β€˜1’, β€˜2’, β€˜3’, β€˜4’, β€˜5’, β€˜6’, β€˜7’, β€˜8’, β€˜9’, β€˜10’, β€˜11’, β€˜12’, β€˜13’, β€˜14’, β€˜15’, β€˜16’, β€˜17’. Duplicate names will be impossible to identify in analysis unless a previous value in a cascading select differentiates them. If this is intentional, you can set the allow_choice_duplicates setting to β€˜yes’. Learn more: XLSForm.org".

Hi @ncne2022,

See that you have list_name, name and label columns?

This error occures when you have duplicated names. See for name 1 you have, Akwanga, Agaie, Barkin Ladi etc.

For a quick solution, you can give individual and unique numbers to each name

1 Like

@ncne2022, as advised by @hakan_cetinkaya, you will need to check for duplicate name from your choices sheet. I see that your list_name lga has duplicate values for 1, 2, 3, … These name should be unique for all the ones you define under lga. You should be able to learn more from our previous post:

In addition, when creating an XLSForm, we encourage you to validate your XLSForm through this online validator.

1 Like