Questions tagged [odk-xform]
16 questions
2
votes
0 answers
How to load json data dynamically in external_choices
community. I am new in ODK forms. I just want to ask how can I load JSON data or any other way rather than JSON, in my external_choices at run time dynamically.
Example: I want to load data based on district_id. In my one district, there are 2000…
user13153470
2
votes
4 answers
How are XForms used?
I recently stumbled over XForms (W3C 1.1, ODK XForms) and I struggle to see how they are used (if they are still used).
The SO tag page says:
XForms is an XML format that specifies a data processing model and user interface for the XML data. Eg.…

Martin Thoma
- 124,992
- 159
- 614
- 958
2
votes
1 answer
How to properly write calculation expression for XForm
I am creating a form using ODK Build. I believe there is something wrong with my binding syntax. In Build you just type in the expression in the input box (below):
I have entered: ${volume_environmental_sample_meters}*1000
When I export to xml it…

Dana Scott
- 177
- 1
- 6
1
vote
1 answer
ODK xlsform design, calculate next label value based on previous yes_no response
I'm working on a survey questionnaire using xlsform for ODK. Where I'm stuck: I have a questions on the from like this: 21. Are you willing to pay for the service if it was offered at $100? The answers can be either Yes, No, or Dont know. If the…

Walu.Q
- 11
- 3
1
vote
0 answers
Exclude a value from a multiple select in ODK xlsform
I'm trying to exclude a value from a multiple select in xlsform. If we use the analogy of farming imagine:
I have a question asking what crops a farmer grows. The available multi select choices from the list name "crops"…

Oliver Burdekin
- 1,098
- 2
- 17
- 36
1
vote
1 answer
Calculate and updated a score according to selected answer
I am new to ODK and XLSForms.
I have several questions and based on the answers, I need to calculate a score.
I have 17 questions, each time a person answer yes, I need to add 2 points into an integer field.
So I have:
type name …

alim1990
- 4,656
- 12
- 67
- 130
0
votes
0 answers
How to show/hide fields in edit or read mode in ODK aggregate
I am working with ODK aggregate and I want to know if it is possible to show or hide fields only if the user has open the form in Edit Mode or Read mode.
To explain what I want, I would say that there are two Modes in ODK collect:
Edit mode: When…

Ernesto Ruiz
- 736
- 9
- 31
0
votes
0 answers
A relevant attribute to check and prevent an odk collect form from proceeding to the next group if two conditions are not met using XPath Expressions
Hi I am configuring an odk collect form for collecting household information, so i wanted to put a relevant attribute to check if any of the members entered per household has been allocated a relationship_id of 1 if not to display an error message…
0
votes
1 answer
ODK Blank Form Error /Downloading Error "collect cannot reach the server?"
i have installed the ODK Aggregation it work perfectly , but when i try to get Blank Form in ODK Collect it cannot download. it show the form it mean the server URL , User Name and Password are correct when i push the button to download it show the…

ismail khan
- 287
- 1
- 3
- 16
0
votes
2 answers
Are XLSForm, ODK XForm and XForms equivalent?
I'm currently looking into XLSForm, ODK XForms and XForms
How do these standards compare in terms of functionality and features?
Can they be considered equivalent or are there substantial differences?

thumbmunkeys
- 20,606
- 8
- 62
- 110
0
votes
1 answer
How do I create a pop-up window inside the XLSForm?
I have a multiple-select question and I need to show a pop-up window to the form user whenever he/she selects one option, in this pop-up window he will answer more questions and close the pop-up to select another item from the multiple-select…

Mohammed Hussen
- 3
- 2
0
votes
1 answer
How to prefill geopoint in enketo form through URL
I want to pre fill geopoint(latitude,longitude,altitude,accuracy) through URL?
i tried like this : www.myform.com?d[/data/myformname/lat]=28.5825583292
but it not reflected in form. Can anybody help?
user13153470
0
votes
1 answer
Custom Form Builder to Export XML into ODK Aggregate Server
I have a web application that have pre-defined set of questions as shown in the image below. A user is supposed to select a subset of the questions that he wants then click "Export Assessment". An XML should be created which will be imported into…

tmndungu
- 320
- 4
- 17
0
votes
1 answer
Can we connect a web application to ONA ODK forms?
Can we connect a web application to ONA ODK forms ?
I need to replace a system where employees goes to field, collect information, and then sync to database when they come back.
What we need is to find a solution, by creating odk surveys, let the…

alim1990
- 4,656
- 12
- 67
- 130
0
votes
0 answers
ODK XForms format-date Hour and Minute coming out as 0000
I am trying to create a calculated variable using the value entered for RecorderID - ClusterID - MonthDataHourMinute from when the survey was started. Right now I am getting everything except the hour and minute, so I assume my format for hour and…

user1315296
- 31
- 4