> ## Documentation Index
> Fetch the complete documentation index at: https://docs.macro.com/llms.txt
> Use this file to discover all available pages before exploring further.

# CreateForm

> Create a complete questionnaire with response columns, ordered sections, screeners and an optional saved booking link.

# CreateForm

Create a complete questionnaire with response columns, ordered sections, screeners and an optional saved booking link. Creates closed and private; use SetFormAccess afterward to open or share it. Existing-table attachment requires database Owner and an unbound table. Use local question/option keys in screeners and reference only earlier sections. Required questions require an answer; screeners compare answers using AND/OR. Empty answers pass only IsEmpty. A final booking step reveals an existing authorized link after acceptance; its independent URL remains usable, and strict qualification is unsupported. Each invocation creates a new form; after a timeout, use ListForms and ReadForm before trying again. Returns actual saved IDs, links and completion state; inspect partial work instead of recreating.

## Parameters

| Parameter | Type | Required | Description |
| - | - | - | - |
| `name` | string | Yes | Form name, also the new database name for source/new. |
| `source` | FormSource | Yes | Where a new form's responses go. |
| `draft` | Draft | Yes | Complete ordered draft. Extra backing columns need not be questions. |


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.