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

 
View only
 
 
Still loading...
ABCDEFGH
1
typenamelabelhintappearanceconstraintconstraint-msgdefault
2
noteintroThis form showcases the different appearance attributes. The hints explain how these widgets appear in the form.

3
begin_grouptext_widgetsText widgets
4
textmy_textText widgetCan be short or long but always one line (type = text)
5
textmy_long_textMultiline text widget (Enketo only)Can be multiple lines (type=text, appearance = multiline)multiline
6
end_group
7
8
begin_groupdate_time_widgetsDate and time widgets
9
datemy_dateDate widget (no appearance attribute, has constraint and default value)This field has a constraint and default value (type=date, constraint=.<= today()). <= today()Date cannot be past today's date.2010-06-15
10
datemy_date_month_yearMonth-year widgetInput only month and year (type=date, appearance=month-year)month-year
11
datemy_date_yearYear widgetInput only year (type=date, appearance=year)year
12
end_group
13
14
begin_groupmult_choice_widgetsMultiple choice widgets
15
select_multiple listmy_select_multipleSelect multiple widgetConstraint does not allow c and d to be selected together; default a and c selection (type=select_multiple)not(selected(., 'c') and selected(., 'd'))You cannot select c and d botha c
16
select_multiple listselect_horizontal_compactSelect multiple widget displaying horizontally (Enketo only)(type = select_multiple, appearance=horizontal-compact)horizontal-compact
17
select_multiple list2select_horizontalSelect multiple widget displaying horizontally but in columns (Enketo only)(type=select_multiple, appearance=horizontal)horizontal
18
select_one listmy_select_oneSelect one widget(type=select_one)
19
select_one yes_noselect_one_horizontal_compactSelect one widget displaying horizontally (Enketo only)(type=select_one, appearance=horizontal-compact)horizontal-compact
20
select_one list2select_one_horizontalSelect one widget displaying horizontally but in columns (Enketo only)(type=select_one, appearance=horizontal)horizontal
21
select_one agree5select_one_likertLikert widget(type=select_one, appearance=likert)likert
22
select_one listspinnerSpinner widget: select oneShows a pull-down list of options (type=select_one, appearance=minimal)minimal
23
select_multiple listspinner_allSpinner widget: select multipleShows a pull-down list of options (type=select_multiple, appearance=minimal)minimal
24
select_one listselectadvanceAuto advance widget (ODK Collect only)Auto-advances to the next question after answer selection (type=select_one, appearance=quick)quick
25
select_one a_bgrid_testGrid select one image widgetMake sure to put a.jpg and b.jpg in the appropriate media folder to see the images for this question. (type=select_one, appearance=compact)compact
26
select_one a_bgrid_test_advanceGrid select one image, auto-advance widget (ODK Collect only)Same as previous question, but this one auto-advances to the next question (type=select_one, appearance=quickcompact)quickcompact
27
begin_grouptable_list_testThis group of questions will appear on a single screen (only needed with mobile clients)Shows all questions on one screen (type=begin_group, appearance=field-list)field-list
28
select_one yes_notable_list_test_labelLabels onlyShows only the answer choice labels and not the inputs (type=select_one, appearance=label)label
29
select_one yes_notable_list_1Question 1 - inputs onlyShows only the inputs of these options and not the labels (type=select_one, appearance=list-nolabel)list-nolabel
30
select_one yes_notable_list_2Question 2 - inputs onlyShows only the inputs of these options and not the labels (type=select_one, appearance=list-nolabel)list-nolabel
31
end_group
32
begin_grouptable_list_test2A much easier way to do the same as above.But it may slow down your form a bit (type=begin_group, appearance=table-list)table-list
33
select_one yes_notable_list_3Question 1 - inputs onlyNo need to put appearance attribute here.
34
select_one yes_notable_list_4Question 2 - inputs onlyNo need to put appearance attribute here.
35
end_group
36
begin_grouphappy_sad_tableSame as above, but with images for answer choices.Shows all questions on one page in ODK Collect (appearance=field-list)field-list
37
select_one happy_sadhappy_sad_labelSelect moodMake sure to put happy.jpg and sad.jpg in the appropriate media folder to see the images for this question. Shows only the answer choice images and not the inputs (type=select_one, appearance=label)label
38
select_one happy_sadhappy_sad_input1Are you happy or sad?Shows only the inputs of these options and not the labels (type=select_one, appearance=list-nolabel)list-nolabel
39
select_one happy_sadhappy_sad_input2Were you happy or sad yesterday?Shows only the inputs of these options and not the labels (type=select_one, appearance=list-nolabel)list-nolabel
40
end_group
41
begin_grouphappy_sad_table2Same as table above, but using easier table-list method.Make sure to put happy.jpg and sad.jpg in the appropriate media folder to see the images for this question. (type=begin_group, appearance=table-list)table-list
42
select_one happy_sadhappy_sad_input3Will you be happy or sad tomorrow?No need to put appearance attribute here.
43
select_one happy_sadhappy_sad_input4Will you be happy or sad the day after tomorrow?No need to put appearance attribute here.
44
end_group
45
end_group
46
47
begin_groupimage_groupImage widgets
48
imagemy_signatureSignature widget (ODK Collect only)Trace your signature with your finger (type=image, appearance=signature)signature
49
imagemy_drawingDrawing widget (ODK Collect only)Trace a drawing with your finger (type=image, appearance=draw)draw
50
end_group
51
52
53
54
55
56
57
Loading...
 
 
 
survey
choices
settings