The Category control type allows selection of one or more values from a predefined set of options. See Categories for a complete discussion of creating and using categories.

A Category control that allows a single selection creates a dropdown menu showing the available options:

Menu Closed Menu Open
Category Control Category Menu

A Category control that allows multiple selections creates a multiselect control:

MultiCategory Control

Excel Sheet Input

Required fields

The Category control type requires the following Excel columns:

  • Name: The name of the field saved to the database.

  • Type: The name of the C# type backing this field. Must be set to Form.<CategoryName> or [Form.<CategoryName>] where <CategoryName> is the name of a category field defined elsewhere in the Excel file. Enclosing Form.<CategoryName> in [] brackets allows multiple selection, while using just Form.<CategoryName> will create a single selection control.

  • ControlType: The name of the desired control type. Must be set to Category.

Optional fields

The Category control type also supports the following Excel columns: