Last updated:
Embedding is completed in just a few steps. First, you will need to make the necessary domain settings in the ‘Domains and emails’ section of the ‘My domains’ area. Here, you need to add the domains and/or subdomains for the websites on which you intend to embed your forms.
You can then copy the embedding code and include it in the HTML markup of the web page on which the form will be displayed.
Add the script tag to the <head> or at the end of the <body> of your web page:
<script src="https://form.formcentric.com/form/formcentric.js" defer></script>
Add the form container at the point where you want to display your form:
<div data-fc-id="YOUR-FORM-ID"></div>
After adding the embedding code, the form is loaded and displayed automatically. Further configuration options for the form container are described in the section Configuration.
<!DOCTYPE html>
<html>
<head>
<title>My Website</title>
<script src="https://form.formcentric.com/form/formcentric.js" defer></script>
</head>
<body>
<h1>Welcome to my website</h1>
<!-- form is shown here -->
<div data-fc-id="YOUR FORM ID"></div>
<footer>
<p>© 2024 My Website</p>
</footer>
</body>
</html>