A | B | C | D | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z | AA | AB | ||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1 | type | name | label | hint | appearance | default | constraint | constraint_message | calculation | choice_filter | parameters | repeat_count | note | image | |||||||||||||
2 | note | intro | Welcome to ODK! This form showcases the different available question types, sometimes called widgets. You can learn more about each question type [in the ODK docs](https://docs.getodk.org/form-question-types/) and see the XLSForm source for this form [here](https://docs.google.com/spreadsheets/d/1af_Sl8A_L8_EULbhRLHVl8OclCfco09Hq2tqb9CslwQ/). | This is a sample for introductory and debugging purposes. It is updated periodically so refresh or go to "Download form" to get the latest! Version 2024091201 adds: - Appearance buddhist for date question type Version 2024082801 adds: - Appearance counter for integer question type Version 2024080901 adds: - Appearance no-ticks for range question type Version 2024031801 adds: - Appearance masked for text type Version 2024022901 adds: - Appearance hidden-answer for barcode type - Appearance printer for text type - Specify alternate camera app for image type - "Question type" wording to replace "widget" Version 2024022901 removes: - OSM question type - Version history prior to 2022 Version 2023030101 removes: - Appearance new-front (selfie) for video type Version 2022053001 adds: - Select one from map question type | |||||||||||||||||||||||
3 | begin_group | text_question_types | Text question types | ||||||||||||||||||||||||
4 | text | string | String | text type | |||||||||||||||||||||||
5 | text | string_number | String number | text type with numbers appearance | numbers | ||||||||||||||||||||||
6 | text | url | URL | text type with url appearance and default value of http://getodk.org/ | url | http://getodk.org/ | |||||||||||||||||||||
7 | text | ex_string | String from external application | text type with ex:change.uw.android.BREATHCOUNT appearance (can use other external apps) | ex:change.uw.android.BREATHCOUNT | ||||||||||||||||||||||
8 | text | string_masked | String masked | text type with masked appearance | masked | ||||||||||||||||||||||
9 | text | printer | text type with printer appearance and default of <p>123456789</p><qrcode>some text</qrcode> | printer | <p>123456789</p><qrcode>some text</qrcode> | ||||||||||||||||||||||
10 | end_group | ||||||||||||||||||||||||||
11 | begin_group | numerical_question_types | Numerical question types | ||||||||||||||||||||||||
12 | integer | integer | Integer | integer type with no appearance | |||||||||||||||||||||||
13 | integer | integer_thousands_sep | Integer with thousands separators | integer type with thousands-sep appearance. This appearance can also be applied to decimal and string numbers question types | thousands-sep | ||||||||||||||||||||||
14 | integer | ex_integer | Integer from external application | integer type with ex:change.uw.android.BREATHCOUNT appearance (can use other external apps) | ex:change.uw.android.BREATHCOUNT | ||||||||||||||||||||||
15 | integer | counter | Counter | integer type with counter appearance | counter | ||||||||||||||||||||||
16 | decimal | decimal | Decimal | decimal type with no appearance | |||||||||||||||||||||||
17 | decimal | ex_decimal | Decimal from external application | decimal type with ex:change.uw.android.BREATHCOUNT appearance (can use other external apps) | ex:change.uw.android.BREATHCOUNT | ||||||||||||||||||||||
18 | decimal | bearing | Bearing | decimal type with bearing appearance | bearing | ||||||||||||||||||||||
19 | end_group | ||||||||||||||||||||||||||
20 | begin_group | range_question_types | Range question types | ||||||||||||||||||||||||
21 | range | range_integer | Range integer | range integer with no appearance | start=1;end=10;step=1 | ||||||||||||||||||||||
22 | range | range_decimal | Range decimal | range decimal with no appearance | start=1.5;end=5.5;step=0.5 | ||||||||||||||||||||||
23 | range | range_integer_no_ticks | Range no-ticks integer | range integer with no-ticks appearance. This appearance can also be applied to a decimal range. | no-ticks | ||||||||||||||||||||||
24 | range | range_integer_vertical | Range vertical integer | range integer with vertical appearance. This appearance can also be applied to a decimal range. | vertical | start=1;end=10;step=1 | |||||||||||||||||||||
25 | range | range_integer_picker | Range picker integer | range integer with picker appearance. This appearance can also be applied to a decimal range. | picker | ||||||||||||||||||||||
26 | range | range_integer_rating | Range rating integer | range integer with rating appearance. This appearance can also be applied to a decimal range. | rating | end=5 | |||||||||||||||||||||
27 | end_group | ||||||||||||||||||||||||||
28 | begin_group | image_question_types | Image question types | ||||||||||||||||||||||||
29 | image | image | Image | image type with no appearance | |||||||||||||||||||||||
30 | image | image_no_choose | Image without Choose button | image type with new appearance (can also be added with annotate appearance and on audio and video types) | new | ||||||||||||||||||||||
31 | image | selfie_image | Selfie | image type with selfie appearance | selfie | ||||||||||||||||||||||
32 | image | ex_image | Image from external application | image type with ex:com.example.collectanswersprovider(questionImage='') appearance (can use other external apps) | ex:com.example.collectanswersprovider(questionImage='') | ||||||||||||||||||||||
33 | image | image_custom_app | Image from alternate camera app | image type with parameter app=com.jeyluta.timestampcamerafree | app=com.jeyluta.timestampcamerafree | ||||||||||||||||||||||
34 | image | draw_image | Draw | image type with draw appearance | draw | ||||||||||||||||||||||
35 | image | annotate_image | Annotate | image type with annotate appearance | annotate | ||||||||||||||||||||||
36 | image | signature | Signature | image type with signature appearance | signature | ||||||||||||||||||||||
37 | end_group | ||||||||||||||||||||||||||
38 | begin_group | media_question_types | Media question types | ||||||||||||||||||||||||
39 | barcode | barcode | Barcode | barcode type with no appearance | |||||||||||||||||||||||
40 | barcode | barcode_hidden_answer | Barcode with hidden answer | barcode type with hidden-answer appearance | hidden-answer | ||||||||||||||||||||||
41 | audio | audio | Audio | audio type with no appearance | |||||||||||||||||||||||
42 | audio | ex_audio | External audio | audio type with ex:com.example.collectanswersprovider(questionAudio='') appearance (can use other external apps) | ex:com.example.collectanswersprovider(questionAudio='') | ||||||||||||||||||||||
43 | video | video | Video | video type with no appearance | |||||||||||||||||||||||
44 | video | ex_video | External video | video type with ex:com.example.collectanswersprovider(questionVideo='') appearance (can use other external apps) | ex:com.example.collectanswersprovider(questionVideo='') | ||||||||||||||||||||||
45 | file | file | File | file type with no appearance <br/> WARNING: any kind of file could be uploaded including files that contain viruses or other malware. Be sure to take proper precautions when downloading files from server. | |||||||||||||||||||||||
46 | file | ex_file | External file | file type with ex:com.example.collectanswersprovider(questionFile='') appearance (can use other external apps) | ex:com.example.collectanswersprovider(questionFile='') | ||||||||||||||||||||||
47 | end_group | ||||||||||||||||||||||||||
48 | begin_group | date_time_question_types | Date and time question types | ||||||||||||||||||||||||
49 | date | date | Date | date type with no appearance | |||||||||||||||||||||||
50 | date | date_nocalendar | Date | date type with no-calendar appearance | no-calendar | ||||||||||||||||||||||
51 | date | date_month_year | Date | date type with month-year appearance | month-year | ||||||||||||||||||||||
52 | date | date_year | Date | date type with year appearance | year | ||||||||||||||||||||||
53 | time | time | Time | time type with no appearance | |||||||||||||||||||||||
54 | dateTime | date_time | Date time | dateTime type with no appearance | |||||||||||||||||||||||
55 | dateTime | date_time_nocalendar | Date time | dateTime type with no-calendar appearance | no-calendar | ||||||||||||||||||||||
56 | date | ethiopian_date | Ethiopian date | date type ethiopian appearance | ethiopian | ||||||||||||||||||||||
57 | date | coptic_date | Coptic date | date type coptic appearance | coptic | ||||||||||||||||||||||
58 | date | islamic_date | Islamic date | date type islamic appearance | islamic | ||||||||||||||||||||||
59 | date | bikram_sambat_date | Bikram Sambat date | date type bikram-sambat appearance | bikram-sambat | ||||||||||||||||||||||
60 | date | myanmar_date | Myanmar date | date type myanmar appearance | myanmar | ||||||||||||||||||||||
61 | date | persian_date | Persian date | date type persian appearance | persian | ||||||||||||||||||||||
62 | date | buddhist_date | Buddhist date | date type buddhist appearance | buddhist | ||||||||||||||||||||||
63 | end_group | ||||||||||||||||||||||||||
64 | begin_group | geo_question_types | Geospatial question types | ||||||||||||||||||||||||
65 | geopoint | geopoint | Point with user confirmation | geopoint type with no appearance | |||||||||||||||||||||||
66 | geopoint | geopoint_placementmap | Point that can be manually-entered on map | geopoint type with placement-map appearance | placement-map | ||||||||||||||||||||||
67 | geopoint | geopoint_maps | Point with user confirmation on map | geopoint type with maps appearance | maps | ||||||||||||||||||||||
68 | geotrace | geotrace | Line that can be either manually-entered or automatically recorded on a map | geotrace type with no appearance | |||||||||||||||||||||||
69 | geoshape | geoshape | Polygon that can be either manually-entered or automatically recorded on a map | geoshape type with no appearance | |||||||||||||||||||||||
70 | end_group | ||||||||||||||||||||||||||
71 | begin_group | select_one_question_types | Select one question types | ||||||||||||||||||||||||
72 | select_one opt_abcd | select_one | Select one | select_one type with no appearance, 4 text choices | |||||||||||||||||||||||
73 | select_one opt_abcd | select_one_minimal | Select one minimal | select_one type with minimal appearance, 4 text choices | minimal | ||||||||||||||||||||||
74 | select_one opt_abcd | select_one_autoadvance | Select one autoadvance | select_one type with quick appearance, 4 text choices | quick | ||||||||||||||||||||||
75 | select_one opt_abcd | select_one_autocomplete | Select one search | select_one type with search appearance, 4 text choices (appearance "autocomplete" does the same thing) | search | ||||||||||||||||||||||
76 | select_one opt_abcd | grid_columns_pack | Select one with packed columns | select_one type with columns-pack appearance, 4 text choices. Choices are packed in to fit horizontal space with minimal padding. | columns-pack | ||||||||||||||||||||||
77 | select_one abcd_icon | grid_columns | Select one with fixed columns | select_one type with columns appearance, 4 text + image choices. Choices are layed out in fixed-width columns based on screen width. | columns | ||||||||||||||||||||||
78 | select_one abcd_icon | grid_columns2 | Select one with fixed column count | select_one type with columns-2 appearance, 4 text + image choices. The available screen width is divided into 2 columns of the same width. Column counts between 1 and 10 are allowed. | columns-2 | ||||||||||||||||||||||
79 | select_one abcd_icon | grid_columns_no_buttons | Select one with packed columns and no buttons | select_one type with columns-pack no-buttons appearance, 4 image choices. Choices are packed in to fit horizontal space with minimal padding and no buttons are displayed. | columns-pack no-buttons | ||||||||||||||||||||||
80 | select_one body_parts | select_one_image_map | Image select one | select_one with type image-map appearance and image body.svg | image-map | body.svg | |||||||||||||||||||||
81 | select_one likert_options | likert | Likert | Images made by Pixel Perfect and downloaded from flaticon.com | likert | ||||||||||||||||||||||
82 | select_one_from_file cities.geojson | map | Map | select_one type with map appearance. Choices are loaded from a GeoJSON attachment | map | ||||||||||||||||||||||
83 | note | select_one_final_note | You can mix multiple appearances together. It's difficult to present all possible combinations because it would make this form huge so we showed you just those basic ones. For example you can even use a combination like: | minimal no-buttons columns-3 autocomplete quick | |||||||||||||||||||||||
84 | end_group | ||||||||||||||||||||||||||
85 | begin_group | select_multi_question_types | Select multi question types | ||||||||||||||||||||||||
86 | select_multiple opt_abcd | select_multi | Multi select | select_multiple type with no appearance, 4 text choices | |||||||||||||||||||||||
87 | select_multiple opt_abcd | select_multi_autocomplete | Multi select autocomplete | select_multiple type with autocomplete appearance, 4 text choices | autocomplete | ||||||||||||||||||||||
88 | select_multiple opt_abcd | grid_multi_columns_pack | Select multiple with packed columns | select_multiple type with columns-pack appearance, 4 text choices | columns-pack | ||||||||||||||||||||||
89 | select_multiple abcd_icon | grid_multi_columns | Select multiple with fixed columns | select_multiple type with columns appearance, 4 text + image choices | columns | ||||||||||||||||||||||
90 | select_multiple abcd_icon | grid_multi_columns2 | Select multiple with fixed column count | select_multiple type with columns-2 appearance, 4 text + image choices | columns-2 | ||||||||||||||||||||||
91 | select_multiple abcd_icon | grid_multi_columns_no_buttons | Select multiple with packed columns and no buttons | select_multiple type with columns-pack no-buttons appearance, 4 image choices | columns-pack no-buttons | ||||||||||||||||||||||
92 | select_multiple opt_abcd | select_multi_minimal | Select multiple minimal | select_multiple type with minimal appearance, 4 text choices | minimal | ||||||||||||||||||||||
93 | select_multiple body_parts | select_multi_image_map | Image select multiple | select_multiple type with image-map appearance and image body.svg | image-map | body.svg | |||||||||||||||||||||
94 | note | select_multiple_final_note | You can mix multiple appearances together. It's difficult to present all possible combinations because it would make this form huge so we showed you just those basic ones. For example you can even use a combination like: | minimal no-buttons columns-3 autocomplete | |||||||||||||||||||||||
95 | end_group | ||||||||||||||||||||||||||
96 | begin_group | table_list | List group | Shows all questions on one page in ODK Collect (appearance=field-list) | field-list | ||||||||||||||||||||||
97 | select_one yes_no | table_list_label | Label | Show only the labels of these options and not the inputs (type=select_one yes_no, appearance=label) | label | ||||||||||||||||||||||
98 | select_multiple yes_no | table_list_label_2 | Label multi | Show only the labels of these options and not the inputs (type=select_multiple yes_no, appearance=label) | label | ||||||||||||||||||||||
99 | select_one yes_no | table_list_1 | List | Show only the inputs of these options and not the labels (type=select_one yes_no, appearance=list-nolabel) | list-nolabel | ||||||||||||||||||||||
100 | select_multiple yes_no | table_list_2 | List multi | Show only the inputs of these options and not the labels (type=select_multiple yes_no, appearance=list-nolabel) | list-nolabel |