Design a KoboToolbox/ODK Survey Form

Design a digital form structure for my approved instrument/indicators, response options, sampling/consent rules, languages and chosen XLSForm platform. Request missing source text before deployable logic; platform or indicator names are not instruments. Expressions remain untested until validation and pilot in that tool.

Give section purpose and estimated timing based on actual questions/pilot, then question/section/text/type/choices/required/relevance/validation table. Use supported XLSForm types as needed: text, integer/decimal, select_one/select_multiple, date/time/datetime, geopoint/image/barcode, note/calculate, groups/repeats. Include only relevant necessary metadata, eligibility/consent with refusal stop, authorized demographics/modules, priority measures, process/feedback and enumerator observations. Identifiers/GPS/photos/disability data require necessity and approval.

Specify required relevance conditions and XLSForm expressions, including eligibility routing. Sensitive safeguarding disclosures need approved private handling and trained response, never ordinary visible notes. Give constraint, message and expression for plausible values without rejecting valid exceptions. Calculate scores/age/duration only from source variables and verified definitions, showing expressions; do not invent FCS/CSI algorithms from names.

Recommend supported grouping/select/long-list appearances suited to enumerators. Provide complexity/population/time-based cognitive/pilot plan, versioning, actual encryption/submission settings, device/offline/update needs and export cadence. Verify platform/version and relevant methodological sources/adaptations without claiming funding rules or field validation.

Choose This Prompt When
Use this to implement an agreed survey in KoboToolbox or ODK. Choose Design a Household Survey for survey methodology and questions, or Create a Mobile Data Collection Protocol for device operations.
Loading saved answers...

Worked Example

Illustration only. The setting and figures are invented to show the pattern.

Scenario: A nutrition program in rural districts has an approved 40-question household questionnaire on paper. The team wants it on tablets in KoboToolbox before a baseline.

What You Give the AI: The approved questionnaire text, the consent script, the rule that only caregivers of children under five are interviewed, the languages (two), and a note that the program team uses KoboToolbox.

What the AI Might Return: A table with one row per question: section, label, type (for example select_one for the water source), choices, required flag, and relevance. One row reads: "child_age_months", integer, constraint ". >= 0 and . <= 59", message "Enter age in months, 0 to 59". Eligibility is routed so a caregiver who refuses consent reaches an end note and no further questions. The AI flags that the dietary diversity module has no source text and asks for it.

When to Choose This Prompt

  • You already have an agreed questionnaire or indicator definitions and need them turned into a working XLSForm structure.
  • You need skip logic, constraints and calculations written as expressions you can paste into the form.
  • You want a pilot and versioning plan for the form as well as the questions.

When Not to Choose It

Checking the Output

  • Compare every question label in the table with your approved instrument, word for word. Reworded or added items are errors.
  • Trace each skip rule on paper from consent through eligibility. A refusal should end the interview, and no later question should stay visible.
  • Check each constraint against the plausible range you know for that variable. A valid edge case, such as a child exactly 59 months old, must still pass.
  • Open any calculate field and confirm it uses only variables in your form. Calculated scores should follow your indicator reference. Treat a formula the AI supplied from a name alone as unconfirmed.
  • Sensitive items (identifiers, GPS, photos, disability, safeguarding disclosures) belong in the form only when you approved them.

Common Problems and Fixes

  • Expressions look right but fail when uploaded, because the AI used the wrong syntax or a field name that does not exist. Fix: Upload to the platform, then paste the errors it reports back to the AI.
  • The AI invents a scoring formula for a food security or dietary score when the source text is missing. Fix: Supply the official definition, or leave the field blank with a note.
  • Choice lists are renamed or reordered, so exported data no longer matches the codebook. Fix: Paste your codes so they are kept exactly, then compare the choices sheet to the codebook.
  • A safeguarding disclosure ends up as an ordinary visible text field. Fix: Write the handling procedure first and agree it with your safeguarding lead before the item goes in the form.

Adapting It to Your Context

  • ODK in place of Kobo: Name the platform and version in your input. Features and appearances differ.
  • Several languages: Give the translated text for each language and ask for one column per language. Machine translation of consent wording needs a human check.
  • Small team, no pilot budget: Ask for a short cognitive test with a few respondents as a stand-in for a full pilot, and log what changed.

Next Step

Create an Enumerator Training Plan

Did this page help?