app builder

Question types

Updated: September 11, 2021

You can add questions to question pages; this is the most common method for defining variables.

This lesson provides a breakdown of every question type.

Short text

Creates a variable type that can store only strings (a sequence of characters). This can be used to store any information such as names, phone numbers, identification numbers, or any other text.

Pro-tip: Are you collecting standard information that has a pre-defined number of characters, such as a government-issued identification number? Set the minimum number of characters and maximum number of characters.

You can send data to a database column whose datatype of Plain Text or Rich Text.

Long text

Creates a variable type that can store only strings (a sequence of characters). This can be used to store any information such as descriptions, long format responses, or any other text.

You can send data to a database column whose datatype of Plain Text or Rich Text.

Yes/no

Also known as boolean, this creates a variable type that only has two possible values: true or false.

You can send data to a database column whose datatype is True/False.

Checkboxes

Stores a string (a sequence of characters) as its value. Each value is either true or false. Use this if you would like to allow the end-user to select more than one option.

You can send data to a database column whose data type is True/False.

Radio buttons

Provide a short, pre-defined list of answer choices to the end-user. All answer choices will be displayed at once for the end-user to see. Use this if your list is short and if you would like to allow the end-user to select only one option. Use this for multiple-choice questions where there is only one answer.

You can send data to a database column whose datatype of Plain Text, Rich Text, or True/False.

Provides a pre-defined list of answer choices to the end-user. All answer choices will be displayed at once for the end-user to see. Use this if you prefer a dropdown user interface or if your list is long and if you would like to allow the end-user to select only one option. If your list is very long, you may want to consider connecting a data source and using a Row Selector instead so you do not need to manually add each option.

You can send data to a database column whose datatype of Plain Text or Rich Text.

Number (decimals)

Also known as an integer, is a variable type that allows you to store numeric values. They can be used to perform mathematical calculations on the value such as equations (add, subtract, multiply, divide, etc.), numerical comparisons, etc.

You can send data to a database column whose data type is Number.

Number (whole number)

Also known as an integer, is a variable type that allows you to store numeric values. They can be used to perform mathematical calculations on the value such as equations (add, subtract, multiply, divide, etc.), numerical comparisons, etc.

You can send data to a database column whose data type is Number.

Money

Creates a number-type variable (see above). By default, money variables, when interpolated (meaning displayed on a document or page block), are formatted without commas and to a single decimal point. You can change how a number-type variable is formatted by selecting the variable and using the rich text editor side-bar to “Format As” or by using an expression block to format the variable and create a new variable. You can customize the currency display used in the app’s page blocks under App Settings > Styles > Customize currency.

You can send data to a database column whose data type is Number.

Date

Date values are number-type variables. By default, date variables are formatted based on your App Settings > Styles > Format dates. You can also change how a date variable is formatted by selecting the variable when it appears in your page block and using the rich text editor side-bar to “Format As” or by using an expression block to format the variable and create a new variable.

You can send data to a database column whose data type is Date.

Time

Time values are number-type variables that are displayed as hours, minutes, and seconds.

Row selector

Connect a data source to provide the end-user the ability to select one response. Use this when you have a long list, such as countries, states, nationalities, etc. The end-user can only search through the key column of your data source. Read more about connecting data sources. Here is a summary of the displays based on the data source type: a) CSV upload: The end-user sees a dropdown list where the end-user can select one response; b) Table: The end-user sees a dropdown list where the end-user can select one response; c) Google Sheets: The end-user is required to begin typing to see options.

You can send data to a database column whose datatype of Plain Text or Rich Text.

Upload file / image

Allows your end-user to upload a single file.

You can send data to a database column whose data type is File.

Range

Is a number-type variable that allows the end-user to select a value from a range of numbers. For example, you can use this to collect feedback on a scale from 1 to 10.

You can send data to a database column whose data type is Number.

Email

Allows you to require your end-user to enter in a response that includes traditional email formatting, e.g, hello@afterpattern.com.

You can send data to a database column whose datatype of Plain Text or Rich Text.

Password

Stores an encrypted string that are masked with an asterisk (*) symbol when the end-user is entering their response.

You can send data to a database column whose datatype of Plain Text or Rich Text.

Combobox

Allows your end-user to select or type a value from a dropdown list.

You can send data to a database column whose datatype of Plain Text or Rich Text.

List selector

A list selector question provides the end-user with a dropdown (not a search field) where they can pick an option from one of your list variables.

For example, if I have a list variable created by a loop section that collects the end-user's children, I can connect that list to a list selector question to give the end-user a dropdown of their children:

You send the data from a list selector question to a database column of plaintext or richtext.

On this page

Hire an Afterpattern expert

Go from idea to launch in weeks.

View services