Block Forms provides the Forms CPT, form blocks, Synced Form embeds, response logging, and admin DataViews for Pew Research Center forms.
Package: @prc/block-forms
Source: plugins/prc-block-forms/
Editors build reusable forms, embed them with Synced Form, and review responses under Forms → Responses. Developers extend form actions, REST handlers, and Abilities for VIP MCP.
Choose a path
Who are you?
Start with the guide that matches your work.
Documentation
For editors
- User guide — Forms library, Synced Form, responses, sample forms
For maintainers
- Architecture — Forms CPT, Form_Renderer, logging, security
- REST API —
prc-api/v3/form/*routes - Abilities —
prc-block-forms/*VIP MCP tools
Block narratives
- Form —
prc-block/formcontainer and interactivity store - Synced Form —
prc-block/synced-formembed - Form Page — multi-step page container
- Form Submit — submit button + captcha template
- Form Message — post-submit message area
- Form Captcha — Cloudflare Turnstile
Input field blocks (prc-block/form-input-*) live in @prc/block-library.
Related
- Plugin README — build, dependencies, Form_Renderer PHP API