# CareDriver form

External component that embeds the **legacy CareDriver lead form** (custom JS bundle in a `srcDoc` iframe). Use when the page needs the CareDriver recruitment form, not a HubSpot form.

## Fields & Schema

| Field | Type | Required | Notes |
|-------|------|----------|-------|
| `cmsLabel` | Symbol | Yes | Internal label. |
| `externalComponentType` | Symbol | Yes | Must be `CareDriver form`. |
| `heading` / `preHeading` / `postHeading` | Symbol | No | Optional section messaging around the form. |
| `copy` / `additionalCopy` / `extraCopy` | RichText | No | Supporting copy in the section. |
| `anchor` | Symbol | No | In-page jump target. |
| `backgroundColour` / `textColour` | Symbol | No | Section palette colours. |
| `data` | Object | No | Reserved; the CareDriver form core loads a fixed production bundle URL. |
| `html` | Text | No | Not required for the standard CareDriver form. |

The form itself is a fixed-aspect iframe loading HopSkipDrive static JS bundles (CareDriver form + Segment). Authors do not paste form field definitions into CMS for this type.

## Usage

```
cms-edit add "CareDriver form" --content-type externalComponent --target content
```

Place on CareDriver recruitment / application pages. Prefer one CareDriver form per page. For newer HubSpot-based flows, use **Hubspot form** instead.
