Guide

Synced Form

Embeds a saved Forms CPT post anywhere on the site. Update the form once; every embed stays in sync. Responses collect under Forms → Responses.

Namespace

prc-block/synced-form

Category

forms

Attributes

AttributeTypeDescription
refnumberForm CPT post ID

Supports

FeatureValue
Aligntrue
Interactivitytrue
Custom class namefalse
HTMLfalse

Context

Provides: prc-block/form/formPostId from ref, so nested Form blocks bake the CPT ID into submission context.

Usage

  1. Insert Synced Form.
  2. Search the form post type, or create a new form from the placeholder.
  3. The editor shows a read-only preview with an Edit form in isolation toolbar link.
  4. Publish the host content. Edits to the form post apply on every embed.

Server-side, src/synced-form/class-synced-form.php delegates to Form_Renderer::render_by_id().

Was this helpful?