widgets_on_pages
 Share
The version of the browser you are using is no longer supported. Please upgrade to a supported browser.Dismiss

 
View only
 
 
Still loading...
ABCDEFGHJKLMN
1
typenamelabelaudiohintappearancechoice_filterconstraintconstraint-msgdefaultreadonlyrelevantrequired
2
noteintroThis form showcases a form split into multiple pages

The hints explain how these widgets were created. The form logo was added by simply uploading a file called form_logo.png in the Media section of the form settings page in an aggregate server like Formhub or Ona
3
4
begin_grouptext_widgetsText widgets
5
textmy_stringText widgetCan be short or long but always one line (type = text)
6
textmy_long_textMultiline Text widget in enketo (in ODK collect this a normal text field)Can be multiple lines (type=text, appearance = multiline)multiline
7
end_group
8
9
begin_groupnumber_widgetsNumber widgets
10
integermy_intInteger widget (try entering a number > 10)This field has a constraint (type=integer, constraint=.<10). < 10Requires a number less than 10
11
decimalmy_decimalDecimal widget (allows only number > 10.51 and < 18.39)This field has a constraint (type=decimal, constraint=. > 10.51 and . < 18.39). > 10.51 and . < 18.39Requires a number between 10.51 and 18.3918.31
12
end_group
13
14
begin_groupdate_time_widgetsDate and time widgets
15
datemy_dateDate widget (this one allows only future dates and has a default value)This field has a constraint (type=date, constraint=.>= today()). >= today()Requires a date that is not before today2010-06-15
16
datemy_date_month_yearMonth-year widgetSimply specify an appearance style (type=date, appearance=month-year)month-year
17
datemy_date_yearYear widget (year only)Simply specify and appearance style (type=date, appearance=year)year
18
timemy_timeTime widgetTimes are easy! (type=time)
19
dateTimedateTimeDate and time widgetFor exact times, will be converted to UTC/GMT (type=dateTime)
20
end_group
21
22
begin_groupselect_widgetsBasic Select widgets
23
select_multiple listmy_selectSelect multiple widget (don't pick c and d together)Using a list specified in the choices worksheet (type=select_multiple list)not(selected(., 'c') and selected(., 'd'))You cannot select c and d botha c
24
select_multiple listselect_horizontal_compactSelect multiple widget displaying horizontally (in Enketo)(type = select_multiple, appearance=horizontal-compact)horizontal-compact
25
select_multiple list2select_horizontalSelect one displaying horizontally but in columns (in Enketo)(type=select_multiple, appearance=horizontal)horizontal
26
select_one list2my_select1Select one widgetScroll down to see default selection (type=select_one list2, default=8)8
27
select_one yes_noselect1_horizontal_compactSelect one displaying compactly and horizontally (in Enketo)(type=select_one, appearance=horizontal-compact)horizontal-compact
28
select_one list2select1_horizontalSelect one displaying horizontally but in columns (in Enketo)(type=select_one, appearance=horizontal)horizontal
29
select one agree5select1_likertLikert widget(type=select_one, appearance=likert)likert
30
select_one listspinnerSpinner widget: select oneShowing a pull-down list of options (type=select_one list, appearance=minimal)minimal
31
select_multiple listspinner_allSpinner widget: select multipleShowing a pull-down list of options (type=select_multiple list, appearance=minimal)minimal
32
select_one listselectadvanceSelect widget - auto advanceAdvance to the next question immediate after selection in ODK Collect. (type=select_one list, appearance=quick)quick
33
select_one a_bgrid_testGrid select one widgetMake sure to put a.jpg and b.jpg in the form-media folder to see images here. (type=select_one a_b, appearance=compact)compact
34
select_one a_bgrid_test_audioGrid auto-advance widgetSame as previous but this one advances to the next question automatically in ODK Collect. (type=select_one a_b, appearance=quickcompact)quickcompact
35
begin_grouptable_list_testList groupShows all questions on one page in ODK Collect (appearance=field-list)field-list
36
select_one yes_notable_list_test_labelTableShow only the labels of these options and not the inputs (type=select_one yes_no, appearance=label)label
37
select_one yes_notable_list_1Q1Show only the inputs of these options and not the labels (type=select_one yes_no, appearance=list-nolabel)list-nolabel
38
select_one yes_notable_list_2Question 2Show only the inputs of these options and not the labels (type=select_one yes_no, appearance=list-nolabel)list-nolabel
39
end group
40
begin grouptable_list_test2Table (made with an easier method)A much easier way to do the same (appearance=table-list) but it may slow down your form a bit.table-list
41
select_one yes_notable_list_3Q1No need to do anything special here
42
select_one yes_notable_list_4Question 2No need to do anything special here
43
end_group
44
begin grouphappy_sad_table_2Table with image labelsShows all questions on one page in ODK Collect (appearance=field-list)field-list
45
select_multiple happy_sadhappy_sad_second_methodSelect moodShow only the labels of these options and not the inputs (type=select_one yes_no, appearance=label)label
46
select_multiple happy_sadhappy_sad_brian2BrianShow only the inputs of these options and not the labels (type=select_one yes_no, appearance=list-nolabel)list-nolabel
47
select_multiple happy_sadhappy_sad_michael2MichaelShow only the inputs of these options and not the labels (type=select_one yes_no, appearance=list-nolabel)list-nolabel
48
end group
49
begin grouphappy_sad_tableTable with image labels (made using an easier method)A much easier way to do the same (appearance=table-list)table-list
50
select_multiple happy_sadhappy_sad_brianBrian
51
select_multiple happy_sadhappy_sad_michaelMichael
52
end group
53
end_group
54
55
begin_groupcascading_widgetsCascading Select widgets
56
begin_groupgroup1Cascading Selects with Radio Buttons
57
select_one countriescountryCountry
58
select_one citiescityCityUsing a choice filter to update options based on a previous answer (choice_filter: country = ${country})country=${country}
59
select_one neighborhoodsneighborhoodNeighborhoodUsing a choice filter to update options based on previous answers (choice_filter: country = ${country} and city = ${city})country=${country} and city=${city}
60
end_group
61
begin_groupgroup2Cascading Selects with Pulldowns
62
select_one countriescountry2Country(appearance: minimal)minimal
63
select_one citiescity2CityUsing a choice filter to update options based on a previous answer (choice_filter: country = ${country2}, appearance: minimal)minimalcountry=${country2}
64
select_one neighborhoodsneighborhood2NeighborhoodUsing a choice filter to update options based on previous answers (choice_filter: country = ${country2} and city = ${city2}, appearance = minimal)minimalcountry=${country2} and city=${city2}
65
end_group
66
end_group
67
68
begin_groupgeopoint_widgetsGPS widgets
69
geopointmy_geopointGeopoint widgetThis will record the gps location. In enketo it also shows a map. (type=geopoint)
70
geopointlocationMapGeopoint with map WidgetThis will record the gps location. In enketo is is the same as the previous. (type=geopoint, appearance=maps)maps
71
end_group
72
73
begin_groupmedia_widgetsMedia input widgets
74
imagemy_imageImage widgetThis will launch the camera. Not supported in enketo at the moment (type=image)
75
audiomy_audioAudio widgetThis will launch the audio recorder. Not supported in enketo at the moment (type=audio)
76
videomy_videoVideo widgetThis will launch the video recorder. Not supported in enketo at the moment (type=video)
77
barcodemy_barcodeBarcode widgetScans multi-format 1d/2d barcodes. In enketo it allows manual entry (type=barcode)
78
end_group
79
80
begin_groupdisplay_widgetsDisplay widgets
81
notemy_outputNote widget. In notes you can emphasize _words_ or _multiple words_ or __strongly emphasize something__.
You can also use a line break to start a new sentence.

The decimal number you entered was ${my_decimal}.
This is a note and it uses a value of another field in its label (type=note)yes
82
texttext_mediaYou can add a sound recording, an image and a video to any input label or to a note.goldeneagle.mp3Add the file name in the audio column on your survey sheet. Make sure you upload this file when you publish your form.
83
select_one list1select_mediaYou can also add media to choices. Choose your favorite bird.Add the file name in the image column on your choices sheet. Make sure you upload this file when you publish your form.
84
triggermy_triggerAcknowledge widgetNeed to push button to proceed to next question in ODK. In enketo no user action is required, the message is simply displayed the same as a note. (type=trigger)yes
85
end_group
Loading...
 
 
 
survey
choices
settings