I’m excited to introduce to you an app that i’ve built, the KoboToolbox Compiler, a Shiny app designed to help users validate and detect advanced logical and coding issues within the kobo tool,
So its worth to keep in mind that its working along side with the official ODK validator which means after you validate the kobo tool using the official validator you can upload your kobo tool here to get more and advanced error detection.
Feel free to use it and i would love to hear your valuable feedback.
Hello again yes please add a (relevant, constraint) columns even if they don’t have value inside of it, because the compiler is using them to detect the advanced check based on them.
Hello @Ahmad6694, this tool seems fantastic!! Thank you so much for building it.
Can we make a few suggestions?
I have “contains invalid character in the name column” for all the labels of end_group and end_repeat, while normally there is no need for labels on end groups. Maybe this doesn’t need to be flagged?
I also have the “contains invalid character in the name column” for label of choices that are numbers The form works well with numbers in choices values, so I’m not sure why these would be invalid.
I’m attaching the form I’ve used to test, in case it can be helpful.
Correct. Strictly speaking you dont need to put a label on the end_group or end_repeat; you cannot overlap and groups and/or repeats, so pyxform can reliably associate the next end_group (or end_repeat) it sees when parsing your form with the last begin_group (or begin_repeat) that it came across. So no name is actually needed to match them up correctly.