# Custom Form Field Types

Choose the right customer, question, upload, or display element and understand its main configuration options.

Source: https://docs.compmaui.com/custom-forms/field-types/

Choose an element by the answer you need, then configure it in **Build & Configure \> Build \> Questions & Content**.

| What you need | Element to start with |
| --- | --- |
| Identify the respondent | Customer Name, Customer Email, Customer Phone |
| One short answer | Text Input |
| An explanation in the respondent’s own words | Text Box or Rich Text Editor |
| Exactly one choice from a short list | Radio Buttons |
| One or more choices from a longer list | Dropdown or Checkbox List |
| A numeric rating | Linear Scale |
| Supporting files | File Upload |
| Instructions with formatting, links, or images | WYSIWYG Content |

<a id="customer-data"></a>

## Customer Data

These system fields help FSRevs associate a response with the form’s customer. Each can appear once per form, and the displayed value is limited to 255 characters unless a different field-specific limit is given.

<a id="customer-name"></a>

### Customer Name

Collects the respondent’s name (up to 255 characters) and helps FSRevs match or create a customer record. Each system Customer Name, Customer Email, and Customer Phone element can appear once. These elements have a label, placeholder, helper text, required setting, and **Hide Element**; all three are required by default. The Customer Name placeholder defaults to “Enter your full name.”

<a id="customer-email"></a>

### Customer Email

Validates the customer’s email address (up to 255 characters) and can show an optional email marketing-permission choice. The permission choice is off by default. If enabled, you may customize its wording (up to 160 characters; wording must explicitly say “email”) and helper text (up to 200 characters and must say “optional”). The choice appears only when the email value is valid.

<a id="customer-phone"></a>

### Customer Phone

Collects a phone number validated for the US or Canada (up to 20 characters) and can show an optional SMS marketing-permission choice. The permission choice is off by default. If enabled, you may customize its wording (up to 160 characters and must say “text” or “SMS”) and helper text (up to 200 characters and must say “optional”). The choice appears only when the phone value is valid. Validation does not prove that the number can receive SMS.

Use a regular Text Input when an email address or phone number belongs to a spouse, employee, applicant, emergency contact, or anybody other than the form’s customer.

<a id="questions"></a>

## Questions

<a id="text-input"></a>

### Text Input

A single-line answer. **Input Type** selects Text (default), Email, URL, Phone, or Number. Email mode validates email syntax; URL, phone, and number modes use their corresponding input controls. The answer is limited to 255 characters. Configure an optional placeholder (up to 255 characters), helper text (up to 500), default value (up to 255), and Required state (off by default). There is no separate numeric minimum or maximum setting.

<a id="text-box"></a>

### Text Box

A longer, multi-line text answer with optional placeholder and length controls.

**Rows** controls the box’s initial height, measured in visible text lines. Choose a whole number from **1 to 20**; the default is **3**. This changes the space shown for the answer, not its permitted length.

The answer can contain up to **5,000 characters**. You can also set an optional placeholder (up to 255 characters) and default answer; the default answer does not reduce the maximum length. Required is off by default.

<a id="dropdown"></a>

### Dropdown

A list of configured choices. It can allow one choice or multiple choices.

Add, reorder, or remove the configured choices; keep at least one. Each choice has an **Option Label** shown to respondents and an **Option Key** (up to 255 characters) stored with the answer. Keys are generated from labels but can be customized; keep them stable because existing responses retain the key. If you change a key or remove its option, older answers keep the old key and may display that key instead of its former label. **Hide Option** removes a choice from the current form while retaining its saved data. Set a **Default Value** from the configured choices; with **Allow Multiple Selections** off, choose one, and with it on, choose one or more. **Placeholder Text**, such as “Choose a service,” is guidance, not an answer, and appears in Preview for optional and required dropdowns.

<a id="checkbox-list"></a>

### Checkbox List

Displays several choices and allows multiple selections. Add, reorder, or remove choices; keep at least one. For each choice, **Option Label** is displayed and **Option Key** (up to 255 characters) is stored; keys can be customized and should remain stable once responses exist. **Checked by Default** preselects any marked choices; none are checked by default. **Hide Option** removes a choice from the current form but retains its historical key. Removing a choice after responses exist requires confirmation; prior answers remain associated with that key and may display the key instead of its former label.

<a id="radio-buttons"></a>

### Radio Buttons

Displays several choices and allows one selection. Add, reorder, or remove choices; keep at least one. Each choice has an **Option Label** (displayed text) and a generated or customized **Option Key** (up to 255 characters; stored answer); keep keys stable once responses exist. **Selected by Default** preselects one choice; no choice is selected by default and only one radio choice can be selected by default. **Hide Option** removes a choice from the current form while preserving historical answers. Removing a choice after submissions exist requires confirmation, and old answers can display the key instead of their former label.

<a id="toggle-switch"></a>

### Toggle Switch

Collects a Yes/No response. **On by Default** starts the toggle as Yes; leave it off to start as No. A saved off value is a valid No answer, including when Required is enabled. Required does not force the respondent to turn it on or actively change the default; use explicit choices when you need a deliberate selection.

<a id="rich-text-editor"></a>

### Rich Text Editor

Collects a formatted long-form response. Its toolbar provides bold, italic, underline, strike-through, links, H2/H3 headings, start/center/end/justify alignment, block quotes, code blocks, and ordered or unordered lists. Authors can supply default rich-text content; respondents can edit it. This input does not provide managed Customer destinations or image blocks. Required is off by default; set helper text and Required as needed.

This is different from authored WYSIWYG Content. See [where the Rich Editor is used](https://docs.compmaui.com/content/rich-editor/#where-the-rich-editor-is-used) for the capability differences.

<a id="linear-scale"></a>

### Linear Scale

Collects one value along a configured numeric scale. The default range is **0–10**. Set **Minimum Value** to **0** or **1**; **Maximum Value** must be greater than the minimum and cannot exceed **10**. Optional **Minimum Label** and **Maximum Label** (up to 255 characters each) appear at the endpoints (for example, “Sad” and “Happy”); provide both labels together or leave both blank. The answer must be an integer within the configured range.

<a id="file-upload"></a>

### File Upload

Collects files from the respondent. A form can contain up to two File Upload elements, and each can accept up to six files.

Supported uploads include:

- Images: JPG, PNG, WebP, GIF, HEIC, and HEIF
- Documents: PDF, TXT, and Markdown

Each file can be up to 10 MB. **Allow Images** (on by default) and **Allow Documents** (off by default) control accepted types; at least one must remain enabled. **Maximum Files** sets the per-question count from 1 to 6 (default 1), and no more than two File Upload questions can be added to one form. Required is off by default. Image uploads can also request permission to reuse submitted media. This content-use permission is separate from permission to contact the customer later by email or SMS.

Enable **Allow Images**, **Allow Documents**, or both, and set **Maximum Files** for that element. The default is one file; the six-file limit is the maximum you can configure. If **Marketing Consent for Images** requires a consent checkbox, a respondent who uploads images must check it to submit. Explain that requirement before asking for photos.

**Marketing Consent for Images** appears when images are allowed and defaults to **No – Do not require consent**. Choose **Yes – Require consent checkbox** deliberately when requesting permission to reuse photos. A respondent who uploads an image must check the consent box to submit. Turning **Allow Images** off resets this setting to No; if you allow images again later, recheck the choice before publishing. An upload without that permission does not grant permission to reuse the image for marketing.

<a id="datetime"></a>

### Date/Time

Collects a date, time, or combined date and time. By default, **Field Type** is **Date Only**, **Selection Mode** is **Single Choice**, and **Timezone Mode** is **Use Location Timezone**. Choose **Field Type**: **Date Only**, **Time Only**, or **Date & Time**. **Selection Mode** is **Single Choice** or **Select Range**; **Multiple Choice** is available only for dates, and changing Field Type from Date resets Multiple Choice to Single Choice. Required is off by default; date restrictions default to none, and time slots default to free-form with no business-hour or range-duration limits.

| Setting | What it controls |
| --- | --- |
| **Timezone Mode** | Use Location Timezone (default), choose a **Fixed Timezone**, or let the respondent select a timezone. Fixed Timezone is required when that mode is selected; the searchable picker offers US and Canadian timezones. |
| **Date Restriction** | For Date Only and Date & Time, choose **No Restriction**, **Disallow Past Dates**, or **Disallow Future Dates**. You can also disable any weekday (Sunday through Saturday) and select **Excluded Dates**. |
| **Time Slot Duration** | For Time Only and Date & Time, leave **Free-form (any time)** or use 5, 10, 15, 20, 30, 45, 60, 90, or 120-minute slots. |
| **Business Hours Start / End** | For time-bearing fields, set both endpoints (they are required together) to constrain selectable times, or leave both blank for no hours restriction. **Reset** clears both. |
| **Minimum Duration / Maximum Duration** | For **Select Range**, optionally set a minimum and/or maximum duration in minutes. Each configured duration must be at least one minute; blank means no limit. |

These settings constrain values respondents can enter; they do not book appointments, check live availability, or reserve a selected time.

<a id="display-only-elements"></a>

## Display-Only Elements

Display-only elements organize or explain the form but do not create answer values or Response Keys. Their **Advanced Settings \> Hide Element** setting hides the element without conditional logic.

<a id="divider"></a>

### Divider

Adds visual separation between groups of elements.

<a id="heading"></a>

### Heading

Adds a structured heading.

Set **Heading Text** (up to 255 characters), choose an **H1–H6 Heading Level** (default H2), and optionally set a three- or six-digit hexadecimal **Text Color**. With no custom color, the theme color is used. **Hide Element** is available in Advanced Settings.

<a id="note"></a>

### Note

Displays required rich-text instructions in a styled callout. **Alert Style** sets Info (blue, default), Success (green), Warning (yellow), or Danger (red). Notes support bold, italic, links, start/center/end/justify alignment, lists, and image blocks; they intentionally provide fewer authoring tools than WYSIWYG Content. **Hide Element** is available in Advanced Settings.

<a id="video-embed"></a>

### Video Embed

Embeds supported YouTube or Vimeo content. Set a required **Video URL** from one of those services and, optionally, a **Title** (up to 255 characters) displayed above the player. An unsupported or unrecognized URL does not render a video. **Hide Element** is available in Advanced Settings.

<a id="wysiwyg-content"></a>

### WYSIWYG Content

Adds formatted explanatory content without collecting an answer. Enter required content in the Rich Editor; its toolbar and content blocks include [Customer destinations](https://docs.compmaui.com/content/rich-editor/#customer-destinations) and [image blocks](https://docs.compmaui.com/content/rich-editor/#adding-images). Images uploaded in this editor accept JPEG, PNG, or WebP up to 5 MB each. **Hide Element** is available in Advanced Settings.

<a id="common-settings"></a>

## Common Settings

Input elements have a required **Label** (up to 255 characters) and can offer **Helper Text** (up to 500 characters), a **Required** setting, and type-specific placeholder or default settings. Where offered, **Placeholder Text** is limited to 255 characters. Display-only elements also have a static **Hide Element** control; it hides the element without creating conditional logic. System customer fields do not expose a Response Key.

For input elements, Advanced Settings include:

- **Response Key** (also called the field identifier in older instructions)
- **Hide Element**

**Hide Element** is a static setting. It does not create conditional rules based on another answer.

Response keys identify a question’s answer in stored responses, reports, and exports. They are different from choice-specific **Option Keys**. Keep both kinds of keys stable after the form begins collecting data.

A saved question’s **Response Key** stays protected through label changes and reordering. To change it, use the warning action and select **Allow Editing** after reviewing the effect. New questions remain editable until saved, and each clone receives a separate key. See [Changing a Form That Has Responses](https://docs.compmaui.com/custom-forms/settings-guide/#changing-a-form-that-has-responses).

Required is off by default for input question elements; the system Customer Name, Customer Email, and Customer Phone fields default to required. Use labels that describe the requested answer, such as “Which service did you use?” Put examples or formatting instructions in helper text. Mark a question Required only when a missing answer should prevent submission.

<a id="customer-fields-vs-text-input-modes"></a>

## Customer Fields vs. Text Input Modes

Customer Email and Customer Phone are system fields that identify the customer and can request matching channel permission. In Text Input, Email validates answer syntax and Phone uses a phone input; neither Text Input mode updates customer identity or requests marketing permission.

<a id="related-pages"></a>

## Related Pages

- [Creating a Custom Form](https://docs.compmaui.com/custom-forms/creating-a-form/)
- [Custom Form Settings Guide](https://docs.compmaui.com/custom-forms/settings-guide/)
- [How Custom Forms Work](https://docs.compmaui.com/custom-forms/how-forms-work/)
- [Form Responses](https://docs.compmaui.com/activity/form-responses/)
