### Form Configuration Reference

This page provides a detailed look at the fields and options available when defining a form in the site settings. See [Forms and Submissions](/docs/forms-and-submissions) for a general guide.

### Supported Field Types

When building a form in the [Create and Manage Sites](/docs/create-and-manage-sites) dashboard, you can add fields with the following types:

| Type | Description |
| :--- | :--- |
| **Text** | A single-line text input. |
| **Email** | Validates email format. See [Email Accounts and Notifications](/docs/email-accounts-and-notifications). |
| **Textarea** | A multi-line text input. |
| **Select** | A dropdown list. |
| **Checkbox** | A single toggle. |
| **Radio** | A set of options. |

### Validation Rules

Each field can have one or more validation rules applied. See [Pages and Markdown Content](/docs/pages-and-markdown-content) for how these display.

| Rule | Description |
| :--- | :--- |
| **Required** | The field must not be empty. |
| **Min/Max Length** | Restricts the number of characters. |
| **Regex** | Validates against a custom expression. |
| **Custom Message** | The error shown if validation fails. |

### Notification Options

Configure what happens after submission to the [Public Endpoints Reference](/docs/public-endpoints-reference):

| Option | Description |
| :--- | :--- |
| **Recipient Email** | Who receives the notification. |
| **Email Subject** | Custom subject line. |
| **Email Account** | Select an [Email Accounts and Notifications](/docs/email-accounts-and-notifications) account. |
| **Success Message** | Shown to the visitor via [Components and Liquid Templates](/docs/components-and-liquid-templates). |

### Security Settings

| Option | Description |
| :--- | :--- |
| **Enable Captcha** | Protect with [Captcha Setup](/docs/captcha-setup). |
| **Rate Limiting** | Restrict submissions per IP per hour. |

### Next Steps

Always test your form definitions in [Preview Workflows](/docs/preview-workflows) before you [publish](/docs/publish-workflows). All changes are tracked in [Versioning and History](/docs/versioning-and-history). For path verification, see the [Directory Reference](/docs/directory-reference) and [Site Config Reference](/docs/site-config-reference). If issues persist, consult [Troubleshooting TailStatic](/docs/troubleshooting-tailstatic) and check [Analytics and Logs](/docs/analytics-and-logs).

### See Also

* [Forms and Submissions](/docs/forms-and-submissions)
* [Email Accounts and Notifications](/docs/email-accounts-and-notifications)
* [Captcha Setup](/docs/captcha-setup)
