We are excited to announce three new features we just added to ODK Build, the popular form designer for ODK. The features enable users to build higher quality forms through support for metadata prompts, outputs in captions, and calculates on prompts.
Metadata prompts are hidden prompts in the ODK form that the data collector does not see. In Build, there is now support for metadata like timestamps for when the form was started and finished as well as metadata that uniquely identifies the device. These new prompt types are at the bottom of screen in Build and can be treated like any other prompt type (drag and drop as needed). Build also now automatically includes a special kind of metadata called instanceID. instanceIDs uniquely identify the completed form and help ensure that no duplicate forms end up in the final dataset.
Build now supports the {/data/dataName} output syntax for referring to previous answers in captions and hints. For example, users can now have a caption that reads:
Your device ID is {/data/deviceID}. Your first name is ${/data/firstName}
When a data collector sees this caption on the device, it will be filled in with the answers previously given. In this case, if a form designer had a metadata prompt called "deviceID" and a text prompt called "firstName" that was previously answered, the caption would read:
Your device ID is 12:34:56:78:90. Your first name is Yaw.
Below is an image of an output prompt showing the answer from a metadata prompt.
Calculates are an advanced technique for running a calculation using a prompt's answers. Because they are complex to use, they are found under the advanced section of Build's prompt properties. Find out more about how to use calculates in this form design guide.
Metadata, outputs, and calculates are available because CartONG hired Nafundi to build these features. Thanks to CartONG for funding these contributions to the community!
Try these changes today on ODK Build. If you need a sample form, download, unzip and load Demo-Form.odkbuild.zip into ODK Build.
In early 2018, polio virus was detected in the sewers of Mogadishu, Somalia and the government moved quickly to vaccinate the country's children in order to prevent a potential outbreak. A vaccination campaign targeting more than 726,000 children was launched in the Banadir and Lower and Middle Shabelle regions. The campaign was carried out by some 3,500 staffers and Nafundi assisted by enabling real-time tracking of vaccination coverage using ODK. Read more.
Fayaz Jatoi is the Coordinator of the Emergency Operations Centre (EOC) for Polio Eradication in Sindh, Pakistan. In this guest post, Fayaz describes why AFP surveillance is critical to polio eradication and how an SMS-based reporting system for private care provider helps. Read more.
This position has been filled. Thanks to everyone who applied! Read more.