Skip to content
FormclickDocs
HTML FormsEmbedding forms

Embed hosted forms

Show a Formclick hosted form inline, in a popup, a floating button or a slide-in panel with one HTML attribute.

Forms built in the Formclick form builder have a public link (/f/…, /c/… for chat forms, /v/… for video forms). The same formclick.min.js script can embed them on your site. Add the script once, then mark an element with data-fc-embed.

yourwebsite.com
Submit
Submit
Submit
Talk to us
Submit
Pick a mode to preview it. Every embed is responsive, keyboard accessible and closes with Escape.

Embed modes

<div data-fc-embed="inline" data-fc-src="https://formclick.io/f/your-form"></div>

<!-- Handles submit, file upload, loading state and success/error messages. -->
<script src="https://cdn.formclick.io/formclick.min.js"></script>

Attributes

AttributeValuesUsed by
data-fc-embedinline · popup · button · floating · slider · fullpageAll
data-fc-srcPublic form URL (/f/…, /c/…, /v/…)All
data-fc-heightHeight in px (default 600)Inline
data-fc-auto-resizefalse to keep a fixed height (default: grows with the form)Inline
data-fc-sizesmall · medium · largePopup, button
data-fc-openclick (default) · load · exitPopup
data-fc-delaySeconds before a load popup opensPopup
data-fc-oncetrue to show a load/exit popup only once per visitorPopup
data-fc-labelButton text (default “Talk to us”)Floating
data-fc-positionbottom-right · bottom-leftFloating
data-fc-sideright · left · bottomSlide-in
data-fc-colorHex colour for the button or launcher, e.g. #645cecFloating, slide-in
Still need help? Contact support or email support@formclick.io.