Professional Documents
Culture Documents
start starttime
end endtime
deviceid deviceid
subscriberid subscriberid
simserial simid
phonenumber devicephonenum
username username
calculate duration
caseid caseid
note behaviour1 no
select_one reasonfor_moderateexerduration_moderateexercno
duration()
constraint constraint message disabled required message read only repeat_count
Please write in
minutes per day(0-
.>=0 and .<=600 600)
Please write
.>=0 and .<=7 between 0-7
Please write in
minutes between 0-
.>=0 and .<=600 600
Please write in
minutes between 0-
.>=0 and .<=600 600
Please write in
.>=0 and .<=600 minutes
media:image media:video choice_filter
note
response_note publishable minimum_seconds
list_name value label image
yesno 1 No, because the number belongs to the same family [TT Action: STOP]
yesno 2 No, because family refused / disconnected [TT Action: STOP]
yesno 3 No, because family unavailable [TT Action: RESCHEDULE]
yesno 4 Yes [TT Action: CONTINUE]
yesno 5 Refused as Patient is hospitalised.
yesno 6 Patient died.
no_contact 1 Number invalid / incomplete [TT Action: TRY 2 MORE TIMES]
no_contact 2 Call did not connect (switched off / out of coverage / not reachable) [TT Actio
no_contact 3 Call connected (phone rang), but never picked up [TT Action: TRY 2 MORE TIM
no_contact 4 Call connected, but wrong number [TT Action: STOP]
Contact 1 Yes
Contact 0 No
patient_death 1 Before the Discharge
patient_death 2 After the Discharge
Intro 1 Yes
Intro 0 No
refusal 1 Family refused/Not interested
refusal 2 Sick
refusal 3 Busy
refusal 77 Other
name 1 Yes
name 0 No
handwash 1 Yes
handwash 0 No
handwash 88 Don’t Know/Remember
handwash_options 1 Yes
handwash_options 0 No
handwash_options 88 Don’t Know/Remember
bath_option 1 Yes
bath_option 0 No
bath_option 88 Don’t Know/Remember
frequency_option 1 Every Day
frequency_option 2 Most days (4 days or more)
frequency_option 3 Few Days (3 days or less)
frequency_option 4 Never
frequency_option 88 Don’t Know/Remember
diet_option 1 Fresh Fruits
diet_option 2 Fresh Vegetables/greens/ nuts
diet_option 3 Milk/Curd/Paneer
diet_option 4 Egg/Chicken/Mutton/Fish/
diet_option 5 Dal/Pulses/ Rajma/Channa/Soya
diet_option 6 Roti (Wheat//Jowar/Bajra/ corn or mixed)
diet_option 7 Rice or Suji
diet_option 8 Tea/coffee
diet_option 9 Fried food (oily) like samosa, pakoda
diet_option 10 Spicy food
diet_option 11 Pickle/Papad/ chips
diet_option 12 Added extra salt in food
diet_option 77 Others
meal_options 1 Increase
meal_options 0 Decrease
meal_options 2 Neither
meal_options 88 Don’t Remember
diet_change 1 Yes
diet_change 0 No
diet_change 88 Don’t know /remember
food_decrease_opt1 Food like Rice and Chapati
food_decrease_opt2 Food with high protein like dal,eggs.
food_decrease_opt3 Food with high fat like fried foods, oil/ ghee
food_decrease_opt4 Sugar
food_decrease_opt5 Salt
food_decrease_opt6 Water Intake
food_decrease_opt7 Fruits
food_decrease_opt8 Vegetables
doctor_restriction 1 Yes
doctor_restriction 0 No
waterintake_option1 8 glasses or more (2 litres or more)
waterintake_option2 Less than 8 glasses (2 litres or less)
nochange_diet_opt1 I started feeling hungry with this meal plan.
nochange_diet_opt2 I had nausea or giddiness with the diet
nochange_diet_opt3 I started losing weight.
nochange_diet_opt4 Lack of sleep/Insomnia
nochange_diet_opt5 Having tasty food is important to me
nochange_diet_opt6 I am not losing weight
nochange_diet_opt7 The doctor has not asked me to make any changes
nochange_diet_opt8 I don’t like restrictions on what I eat.
nochange_diet_opt9 Unaffordable
exercise_options 1 Yes
exercise_options 0 No vigorous activities
reason 88 don't know/not sure
moderateexercise_1 Yes
moderateexercise_0 No walking
reasonfor_moderat88 don't know/not sure
moderateexercise_1 Yes
moderateexercise_0 No walking
sitting_duration 88 Don't know/not sure
medication_option 1 Yes
medication_option 0 No
medication_option 88 Don’t Know/Remember
medicineremember1 Always
medicineremember2 Often
medicineremember3 Sometimes
medicineremember4 Rarely
medicineremember5 Never
discontinuingmed 1 Treatment course was complete
discontinuingmed 2 Recovered/Improved
discontinuingmed 3 Medicines got over
discontinuingmed 4 I felt better
discontinuingmed 5 I had side effects
discontinuingmed 6 Difficulty in getting medicines
discontinuingmed 7 Not interested to continue
discontinuingmed 8 Family/Friends told me to stop
discontinuingmed 9 I started taking traditional medicines.
discontinuingmed 10 The medicines were costly
discontinuingmed 11 Too many medicines to handle
discontinuingmed 12 I didn’t understand the instructions well
discontinuingmed 13 Others
deaddiction_lisy 1 Alcohol
deaddiction_lisy 2 Tobacco
deaddiction_lisy 3 Narcotic Drugs
deaddiction_lisy 4 None of the above
filter
y [TT Action: STOP]
This worksheet specifies all of the groups, questions, and other fields in your survey form,
each in its own row. Aside from overall settings and lists of multiple-choice options,
everything about your survey form is specified in this worksheet.
For more help, see the following help topic: How do I design my form?
type name
This column specifies the type of the field or This column specifies the name of the field
group. It has to follow a pre-specified or group. Field names must be unique, and
format, and Excel's conditional formatting they cannot include any spaces or
has been used to auto-highlight rows that punctuation. Example: age
appear to have a valid type column -- so, if
you are using Excel and your row is not
automatically highlighted, re-check that you
have entered the type properly. See below
for an exhaustive list of brief examples.
text fieldname
text fieldname
integer fieldname
decimal fieldname
select_one listname fieldname
geopoint fieldname
geoshape fieldname
geotrace fieldname
barcode fieldname
date fieldname
date fieldname
datetime fieldname
datetime fieldname
image fieldname
image fieldname
image fieldname
image fieldname
audio fieldname
video fieldname
file fieldname
note fieldname
start fieldname
end fieldname
deviceid fieldname
subscriberid fieldname
simserial fieldname
caseid fieldname
phonenumber fieldname
comments fieldname
calculate fieldname
calculate_here fieldname
text audit fieldname
audio audit fieldname
audio audit fieldname
audio audit fieldname
begin group groupname
…
end group groupname
begin repeat repeatname
…
end repeat repeatname
begin repeat repeatname
…
end repeat repeatname
speed violations count fieldname
speed violations list fieldname
speed violations audit fieldname
sensor_stream movement fieldname
sensor_statistic pct_movement_between fieldname
Operation Operator
Addition +
Subtraction -
Multiplication *
Division div
Modulus mod
Equal =
Not equal !=
Greater-than >
>-or-equal >=
Less-than <
<-or-equal <=
Or or
And and
Not not()
Function
once(expression)
once(random())
pulldata(csvname, colname,
lookupcolname, lookupval)
string-length(field)
count-selected(field)
selected(field, value)
selected-at(field, number)
jr:choice-name(value, 'field')
regex(field, expression)
number(field)
int(field)
string(field)
date(string)
date-time(string)
format-date-time(field, format)
today()
now()
uuid()
version()
username()
duration()
hash(fieldorvalue, …)
linebreak()
rank-index(index, repeatedfield)
rank-value(fieldorvalue, fieldorlist)
de-duplicate(string, field)
distance-between(geopointfield1,
geopointfield2)
area(repeatedgeopointfield)
short-geopoint(geopointfield)
pow(base, exponent)
log10(fieldorvalue)
sin(fieldorvalue)
cos(fieldorvalue)
tan(fieldorvalue)
asin(fieldorvalue)
acos(fieldorvalue)
atan(fieldorvalue)
atan2(x, y)
sqrt(fieldorvalue)
exp(x)
pi()
label label:languagename
For those field types that present a user Any label:languagename column (e.g.,
interface, this column is where you put the label:tamil) may be added in order to
primary text for the question or field. You provide labels in an alternative language.
can include line-breaks in your label text by
pressing Alt+Enter on Windows or
Control+Option+Enter on a Mac.
Example
once(random())
once(random())
pulldata('hhplotdata', 'plot1size', 'hhid_key',
${hhid})
string-length(.) > 3
count-selected(.) >= 1
selected(${fieldname}, 'Male')
selected-at(${fieldname}, 0) = 'Shona'
jr:choice-name(selected-at($
{selectmultfield}, 0), '${selectmultfield}')
indexed-repeat(${name}, ${names}, 1)
substr(${phone}, 0, 3)
coalesce(${id}, ${id2})
round(${interest_rate}, 2)
regex(., '[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+.
[A-Za-z]{2,4}')
format-date-time(${fieldname}, '%Y-%b-%e
%H:%M:%S')
format-date-time(today(), '%Y-%b-%e')
once(format-date-time(now(), '%Y-%b-%e
%H:%M:%S'))
uuid()
version()
username()
duration()
hash(${name}, ${birthdate})
linebreak()
rank-index(1, ${random_draw})
rank-value(${random_draw}, $
{list_of_draws})
de-duplicate(' ', join(' ', ${repeatedfield}))
distance-between(${start_gps}, ${end_gps})
area(${gps_reading})
short-geopoint(${location})
pow(1+${annual_interest_rate}, $
{years_of_interest})
log10(${field})
sin(${field})
cos(${field})
tan(${field})
asin(${field})
acos(${field})
atan(${field})
atan2(${fieldx}, ${fieldy})
sqrt(${field})
exp(${fieldx})
pi()
hint hint:languagename
Text in this column, if any, will appear Any hint:languagename column (e.g.,
italicized beneath the field's label. You can hint:tamil) may be added in order to
include line-breaks in your hint text by provide hints in an alternative language.
pressing Alt+Enter on Windows or
Control+Option+Enter on a Mac.
default appearance
If you want to default the user's entry or For field types that allow multiple
selection for a given field, you can specify a appearances, you can specify the
number or some text in this column. appearance style in this column (e.g., quick
or minimal for select_one fields). See the
Alternatively, you can specify an expression individual examples below.
for dynamically calculating the field's
default entry or selection, in the calculation
column. See the following help topic for
more details: How can I provide default
entries or selections for users filling out my
form?
numbers
likert
likert-min
likert-mid
quick
minimal
compact
compact-3
quickcompact
quickcompact-3
minimal
compact
compact-3
no-calendar
no-calendar
annotate
draw
signature
p=50
p=50;s=0;d=60
p=50;s=0-600;d=60
p=50;s=firstfield;d=lastfield
v=5;d=120
period=1
min=0.25;max=2
constraint constraint message
Enter an expression into this column to If the user tries to move forward but the
validate entered or selected values. The constraint expression is false, a generic
user will only be allowed to proceed to the "That entry is invalid" message will appear;
next question when the expression to override this message on a field-by-field
evaluates to true. Use the constraint builder basis, enter another message into this
to build new constraint expressions. (Also column.
see the expression quick-reference
following the examples below.) Example: . <
130
espondentname', ${nametofind})
respondentname', ${nameprefix})
espondentname', ${namesuffix})
espondentname', ${nametofind})
espondentname', ${nametofind})
respondentname', ${nameprefix})
espondentname', ${namesuffix})
espondentname', ${nametofind})
3
media:audio media:video
To include a sound clip that can be played at To include a video clip that can be played at
a field, its filename should be specified here a field, its filename should be specified here
(and the file should be uploaded with this (and the file should be uploaded with this
form defintion). Which media file formats form defintion). Which media file formats
are supported will depend on your Android are supported will depend on your Android
device. Example: explanation.3gpp device. Example: demonstration.mp4
media:image:languagename media:audio:languagename
Any media:image:languagename column Any media:audio:languagename column
(e.g., media:image:tamil) may be added in (e.g., media:audio:tamil) may be added in
order to provide images for an alternative order to provide audio clips for an
language. alternative language.
media:video:languagename choice_filter
Any media:video:languagename column When filtering lists of multiple-choice
(e.g., media:video:tamil) may be added in options, this column specifies, for each field,
order to provide video clips for an which prior field should be used when
alternative language. filtering the list of options. For more details,
see the following help topic: How can I filter
the list of multiple-choice options presented
to users? Example: filter=${survey_region}
note response_note
This column can specify an optional note to This column can specify optional text or
appear with the field in printable versions of symbols to appear in the response area to
the survey form, in order to explain when the right of questions in printable versions
groups or fields will appear (i.e., when they of the survey form. For a text field, for
are relevant), what restrictions there are on example, you might put something like |
user entries (i.e., what constraints apply), ___|___| if you are looking for two letters
etc. or numbers; or, for a checkbox, you might
put a hollow square like □ (this is a special
HTML character: enter "□", without
quotes, into this column); finally, for a radio
button, you might simply enter a capital O.
publishable minimum_seconds
Enter yes into this column to indicate that a Enter a number of seconds that represents
field in an encrypted form should be left the minimum time enumerators should
unencrypted so that it can be published to spend the first time they view the field. This
one or more datasets. Use only for non- represents a "speed limit" that can be
sensitive fields that can be left unencrypted enforced by Collect (with the Enforce
without compromising data security. (This minimum times for fields option within
field is ignored for unencrypted forms.) Collect's Admin Settings); alternatively, you
can track violations with the following field
types: "speed violations count", "speed
violations list", and "speed violations audit"
(see examples for these field types below).
The choices worksheet
This worksheet is for the configuration of option lists for your multiple-choice questions.
For regular option lists, all possible options will be listed here, one option per row. For
option lists that will be dynamically loaded from a pre-loaded .csv file, there will be a
single row that indicates from which .csv columns to load the option values, labels, and
images (see the following help topic: How do I dynamically load multiple-choice options
from pre-loaded data?).
list_name value
This column specifies the name of a This column specifies the internal value
multiple-choice question type (without any stored for a given choice. (It should really be
spaces or punctuation). A given list of called "value" rather than "name".)
options will involve multiple rows, each with Example: 1
the same list_name. Example: yesno
If dynamically loading from a pre-loaded
.csv file, this should instead be the .csv
column name from which to load option
values.
label label:languagename
This column specifies the label to use for a Any label:languagename column (e.g.,
given choice, in the form's default language. label:tamil) may be added in order to
Example: Yes provide labels in an alternative language.
This worksheet contains overall settings for your form, all specified in the second row of
the worksheet. When you download a form template from your SurveyCTO server, these
settings will be pre-filled for you.
form_title form_id
This is the title of your form. If you begin This is the unique ID that will identify the
this title with TEST - (as in "TEST - form. While the form title can have spaces
Household listing survey"), it will not appear and can be changed from time to time, the
by default to users (see the following help form ID must not contain spaces and must
topic: How can I prevent forms from remain fixed for the life of the form. The
appearing until after I am finished testing form ID must also begin with a letter, and it
them?). can only include letters, numbers,
underscores, and hyphens (no other
punctuation or special characters). Example:
hhlisting_round1
version public_key
This is the version number of the form, This is the public key with which to encrypt
which you must increase each time you all form submissions. See the following help
modify an existing form. If you started with topic for details: How do I encrypt my data?
a form template or with one of the sample
forms, then this is automatic: the version is
set to a formula that automatically
increments every minute. (Otherwise, you
need to increment the version number
yourself, taking care to keep the number of
digits fixed; the version has to be a single
whole number, and its number of digits has
to stay the same from one version to the
next. The convention is to always use a ten-
digit number that represents the current
date and time, e.g., 1401130917 for 9:17AM
on January 13, 2014. Alternatively, you can
use 10-digit numbers like 0000000001 and
0000000024 or 3-digit numbers like 001 and
024.)
submission_url default_language
This is the submission URL to use when This is the name of the language associated
submitting encrypted forms. See the with labels, images, and other content when
following help topic for details: How do I no other language is specified. For example,
encrypt my data? the label:french column is clearly in French,
but the label column, which will display by
default, is in an unknown language. Put the
name of that default language here. See the
following help topic for details: How do I
translate my form into multiple languages?