ODK Question Types

XLSForm supports a number of simple question types

Integer

How many people live this household (e.g. eat out of same pot)?

1024

Decimal input

What is your weight in Kilograms

68.038 kg

Text

What is your first name?

First Name

select_one options

Multiple choice question; only one answer can be selected

What is the age of the head of the household?

  • Under 18
  • 18-35
  • 36-50
  • Over 50

select_multiple options

Multiple choice question; multiple answers can be selected

Where do you obtain the water you drink daily?

  • borehole/handpump
  • communal tap / stand tap
  • private/household tap
  • shallow well/protected
  • protected spring source
  • other

Note

does not allow input, used to give instructions/reminders to enumerators

Introduce yourself and identify that you are from the Red Cross

Geopoint

Collect GPS coordinates

Date input

day, month, and/or year

When did you last visit a doctor?

03/13/12

Time input

specific time

what time do you usually get home from work?

12:30 PM

Image

allows image capture

Take a picture of the latrine.

Barcode

requires the barcode scanner app to be installed

Scan the household number

Signature

Get a person's signture for agreement

Draw

Allows you to sketch a drawing with your finger on the mobile device screen

Dichotomous

The dichotomous question is generally a "yes/no" question

Do you treat your drinking water?

  • Yes
  • No

Rating Scale/Level of Measurement

Whan you select a single rating for the question along an equally spaced continuum of possible choices

How much do you agree or disagree with the following statements?

People in this community feel like they belong to the community. (chose one)

  • strongly disagree
  • disagree
  • neither agree or disagree
  • agree
  • strongly agree

Filter or Contingency Questions

sometimes called skip logic

Does your source of drinking water change according to different seasons?

  • Yes
  • No

If Yes, when?

  • dry season
  • rainy season
  • other

Constraint Checks

One way to ensure data quality is to add constraints to the data fields in your form.

Admin Areas

(conditional ‘select one’ questions)

How many days a week?

0, three, 5, 8

(integer answer, only allow >=0 and <=7)