Build multi-step forms with validation, state handling, and AI API integration. Use when the user needs to: (1) build a multi-step wizard form with step navigation and per-step Zod validation, (2) manage form state across steps with a custom hook, (3) call an LLM API (OpenAI or Anthropic) from a React frontend with loading and error states, (4) render structured AI-generated output with section formatting, (5) export the result as a print-ready PDF using jsPDF or html2canvas. Triggers on keywords like: multi-step form, form wizard, step navigation, AI form, PDF export, jsPDF, html2canvas, review step, print-ready, structured output, form validation.