Example file
01-minimal.html
Minimal install: the paste-in snippet, showing the form you designed in Subcontext.
To try this page, download it, replace the placeholders and put it on a test page of your website. Opening the file from your computer won't work, because the embeds check the website address they're on.
<!doctype html>
<!--
Minimal install: the paste-in snippet from your lead form's Install tab
("We draw the form"). It shows the form you designed on the Design tab.
Replace lfk_YOUR_KEY with your form's key, and open the page on a website
that is on the form's list of allowed websites.
-->
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Lead form: minimal install</title>
</head>
<body>
<h1>Minimal install</h1>
<p>A <code><div data-subcontext-leadform></code> and the script tag show the form you designed in
Subcontext, with its consent wording, checks and thank-you message.</p>
<!-- The form is drawn here. -->
<div data-subcontext-leadform></div>
<!-- lfk_YOUR_KEY: your form's key (starts lfk_). Find it in Subcontext on the lead form's Install tab. -->
<script src="https://js.subcontext.com/leadform-latest.js" data-key="lfk_YOUR_KEY" defer></script>
</body>
</html>