# site-create-form

## Overview

Form for creating a new site under a company. The admin selects a company, specifies the site type, and provides address and timezone details. The site is created in ACTIVE status.

## Screen Type

Form

### Form Details

#### Input Fields

| Field Name | Field Type | Required (Yes/No) | Options / Lookup |
| --- | --- | --- | --- |
| Company | lookup | Yes | Company lookup (Company.legalName) |
| Name | text | Yes | — |
| Type | select | Yes | `SITE_TYPE_OPTIONS` (`lib/site-options.ts`): WAREHOUSE, STORE, OFFICE, FACTORY, DISTRIBUTION_CENTER. |
| Street | text | Yes | — |
| City | text | Yes | — |
| State | text | No | — |
| Postal Code | text | Yes | — |
| Country | select | Yes | ISO 3166-1 country list rendered as a searchable combobox (`COUNTRY_OPTIONS` via `i18n-iso-countries`, e.g. `US`, `JP`, `GB`). |
| Timezone | select | Yes | IANA timezone list rendered as a searchable combobox (`TIMEZONE_OPTIONS` via `Intl.supportedValuesOf("timeZone")`, falls back to free-text input on older browsers where `Intl.supportedValuesOf` is unavailable). |

## Access Control

- [admin](../actor/admin.md)
