> For the complete documentation index, see [llms.txt](https://docs.rooks.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.rooks.ai/get-started/how-forms-work.md). Agents can also search and read this documentation through its [MCP server](https://docs.rooks.ai/~gitbook/mcp).

# How forms work

Understand pages, questions, drafts, and published forms.

A Rooks form contains pages, questions, and supporting content. Your AI creates and changes these through the Rooks connection.

## Pages and questions

Pages divide the form into short sections. Questions collect answers, such as contact details, choices, dates, files, or signatures.

Ask your AI to make questions required or optional. Questions are required by default. Conditional logic can show a page, question, or choice only when it applies.

Forms can also include instructions, images, calculations, URL parameters, and a completion message or redirect.

See [Questions and validation](https://docs.rooks.ai/build-with-your-ai/questions-and-validation.md) and [Conditional logic and calculations](https://docs.rooks.ai/build-with-your-ai/conditional-logic-and-calculations.md).

## Drafts

When your AI saves changes, Rooks validates them and creates a draft version. Saving a draft does not change the published form.

Your AI gives you a preview link for reviewing the latest draft. **Anyone with that link can open it without signing in.** Share it only with intended reviewers.

Draft preview does not save responses or respondent uploads and does not send data to destinations.

## Published forms

When you ask your AI to publish a saved version, Rooks makes that version available at the live form URL.

Later edits remain in the draft until you ask the AI to publish them. Respondents continue to see the published version while you work.

Use the Rooks dashboard to manage responses, destinations, domains, and team access. Return to your AI for every form edit.
