Embed a Formfolk form.

How sizing works

The embedded form measures its content root and sends a height-only formfolk:resize message when that content changes, so validation, step, and completion states can grow or shrink independently. The copied host script accepts that message only from the iframe window and the exact Formfolk origin, then clamps the height between 320 and 4,000 pixels.

Accessibility

Keep the iframe’s title meaningful if you edit the snippet—for example, “Contact Acme.” Do not place the form inside another keyboard trap. The iframe remains responsive on phones and uses the same labels, focus handling, errors, and reduced-motion behavior as the public form.

Loading and failure behavior

The iframe loads lazily. Until it finishes, the reserved minimum height reduces layout shift. If a form is archived or unavailable, the iframe shows Formfolk’s standard unavailable state; keep a nearby contact path when the form is critical.