Adding questions in the Formbuilder

Last updated: 20 Mar 2026

The KoboToolbox Formbuilder allows you to easily add questions to your form as you build your survey or questionnaire.

This article explains how to add questions to your form, define answer choices where applicable, and provides an overview of the available question types in the Formbuilder to support effective form design.

Adding a question

To add a question to your form:

  1. Click the button.

  2. Enter your question label.

  3. Click + ADD QUESTION.

  4. Choose the question type.

Add a question to the Formbuilder

Note: Once the question type has been selected, it cannot be changed in the Formbuilder. To change the question type of an existing question, delete the question and create a new question with the same label.

Setting data column names

After adding a question to your form, it is strongly recommended to define a Data Column Name in the question Settings. The data column name is used to identify the question throughout the form logic and in the exported dataset.

By default, KoboToolbox creates the data column name for you by removing spaces and capital letters from the question label. For example, if the question label is “Respondent name”, the data column name will be respondent_name.

To learn more about data column names, see Question options in the Formbuilder.

Adding option choices

When adding Select One or Select Many questions to your form, you will be prompted to enter option choices.

  • You can enter as many option choices as you want.

  • To reorder the list of choices, click and drag an item to the desired position.

  • Click the trash can icon next to a choice label to delete it.

Delete choice

Note: Managing long choice lists in the Formbuilder can be time-consuming. If your form includes many options or the same choice list used in multiple questions, it is often easier to create and manage these lists using XLSForm instead. To learn more, see Managing option choices in XLSForm.

Setting XML values for option choices

Next to each choice option, you will see a field labeled AUTOMATIC. This field contains the XML value for that option.

The XML value is a short, internal name that KoboToolbox uses to save and identify the selected option in your data. By default, KoboToolbox creates the XML value for you by removing spaces and capital letters from the option label. For example, if the option label is “Option 1”, the XML value will be option_1.

In some cases, you may want to set your own XML value. This can be helpful if the option label is very long or if you want to use a clearer or more consistent name. To do this, click AUTOMATIC and replace it with your own custom value.

Note: It is strongly recommended to define XML values for all choices when using non-Latin scripts, such as Chinese, Arabic, or Nepali, to ensure your data is stored and exported correctly.

Question types in the Formbuilder

The following question types are available in the Formbuilder:

Question type

Description

Select One

Allows respondents to select one option from a predefined list.

Select Many

Allows respondents to select multiple options from a predefined list.

Text

Provides a text box to collect open-ended responses.

Number

Allows respondents to input whole numbers.

Decimal

Allows respondents to input numbers that may contain decimal points.

Date

Captures a specific calendar date, including year, month, and day.

Time

Captures a specific time in hours and minutes.

Date & time

Captures both a date and a time in a single combined response.

Point

Records a single GPS location.

Line

Records multiple GPS points that form a line.

Area

Records multiple GPS points that form an enclosed area.

Photo

Allows respondents to upload images or take photos (when using the KoboCollect app).

Audio

Allows respondents to upload an audio file or record audio.

Video

Allows respondents to upload videos or record videos (when using the KoboCollect app).

Barcode / QR Code

Scans a QR code to collect embedded information using the device’s camera (when using the KoboCollect app).

File

Allows respondents to upload files, such as text files, spreadsheets, and PDF files.

Note

Provides information to the respondent without requiring any input.

Acknowledge

A single checkbox that respondents can select to acknowledge their agreement with a statement.

Rating

Allows respondents to rate different items using a common scale.

Question Matrix

Creates a group of questions that display in a matrix format, whereby each cell within the matrix represents a separate question.

Ranking

Allows respondents to rank items in order of preference.

Calculate

Automatically performs calculations within a form based on responses to previous questions.

Hidden

Stores predefined values that are not visible to the respondent.

Range

Allows respondents to select a numeric value within a specified range.

External XML

Connects the KoboToolbox project to other projects in order to dynamically retrieve data.

Select One from File

Allows respondents to select one option from a predefined list, stored in an external CSV file.

Select Many from File

Allows respondents to select multiple options from a predefined list, stored in an external CSV file.

Note: Select One from File and Select Many from File question types only appear as options in the Formbuilder if an external choice file has been uploaded to KoboToolbox.