Examples

Here are examples of each prompt type supported by ODK Collect and how each is shown to the user. Click on the "Show Snippet" button to reveal the XML snippet that generates the prompt. For full forms, see the sample forms repository.

String


Show Snippet

Integer


Show Snippet

Decimal


Show Snippet

Date


Show Snippet

Time


Show Snippet

Select multi


Show Snippet

Select one


Show Snippet

Acknowledge


Show Snippet

Output


Show Snippet

Location


Show Snippet

Barcode


Show Snippet

Image capture, select


Show Snippet

Audio capture, select


Show Snippet

Video capture, select


Show Snippet

String with only numbers


Show Snippet

Location with map


Show Snippet

Date, time


Show Snippet

Select one spinner


Show Snippet

Select multi spinner


Show Snippet

Select one with auto-advance


Show Snippet

Select one grid


Show Snippet

Select one grid with auto-advance


Show Snippet

Select one list


Show Snippet

Select multi list


Show Snippet