Field types

EB Forms supports 11 field types. Each type maps to one or more HTML input elements and is stored in a specific format in the database.

Short textSHORT_TEXT

A single-line text input. Use for names, titles, short answers.

Note: Max length is not enforced by default.

Long textLONG_TEXT

A multi-line textarea. Use for descriptions, comments, free-form feedback.

Note: The number of visible rows can be configured in the field editor.

Multiple choiceMULTIPLE_CHOICE

A list of radio buttons. Respondents pick exactly one option.

Note: Add at least two options in the Options editor.

CheckboxesCHECKBOXES

A list of checkboxes. Respondents can select zero or more options.

Note: Stored as a JSON array of selected values.

DropdownDROPDOWN

A select element. Respondents pick one option from a dropdown list.

Note: Compact alternative to Multiple choice when the list is long.

DateDATE

A date picker. Respondents select a calendar date.

Note: Stored as an ISO 8601 date string (YYYY-MM-DD).

EmailEMAIL

A text input that validates email address format.

Note: Browser-native email validation is applied.

NumberNUMBER

A numeric input. Accepts integers and decimals.

Note: Optional min/max constraints can be set in the field editor.

File uploadFILE_UPLOAD

A file picker that accepts one or more files.

Note: Files are stored as base64 in the database by default. For production deployments with large files, configure S3-compatible object storage and update the upload handler.

Section headerSECTION_HEADER

A visual divider with a heading. Not an input — used to break the form into labelled sections.

Note: No answer is collected for section headers.

CoordinatesCOORDINATES

Two number inputs for latitude and longitude. Use for location-based data collection.

Note: Stored as { lat: number, lng: number }.