> For AI agents: the complete documentation index is available at /next/llms.txt, the full documentation bundle is available at /next/llms-full.txt.

# Function: useCreateFormValidation()

> **useCreateFormValidation**(): [`FormValidationContextValue`](/next/api/genui/openui/core/interfaces/FormValidationContextValue.md)

Create form validation state and callbacks for an OpenUI form boundary.

## Returns

[`FormValidationContextValue`](/next/api/genui/openui/core/interfaces/FormValidationContextValue.md)
