Nafundi and CartONG add metadata, outputs and calculates to ODK Build

We are excited to announce three new features we just added to ODK Build, the popular form designer for Open Data Kit (ODK). The features enable users to build higher quality forms through support for metadata prompts, outputs in captions, and calculates on prompts.

Metadata 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.

Outputs in captions

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 on prompts

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 into ODK Build.

Recent posts

  • SMS-based reporting of AFP cases for private care providers in Pakistan

    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.

  • Job opening for Senior Software Engineer on Open Data Kit

    Nafundi is seeking a Senior Software Engineer to play a lead role in the evolution of Open Data Kit, a series of open source tools for social good organizations to collect data quickly, accurately, offline, and at scale. The ideal candidate has experience with high-level software system design, modernizing legacy codebases, and writing maintainable code. Read more.

  • Job opening for Experienced Android Developer on Open Data Kit

    Nafundi is seeking a software developer with Android experience to improve ODK Collect. The ideal candidate is passionate about improving code quality and is interested in designing and building new features across the ODK platform. Read more.