Documentation
Quick start
Static HTML website

HTML Website

Learn how to add CustomGForm to the static HTML website

Add HTML code into your website

<div 
  data-customgform="FORM_ID"
  data-prefill_fields="261034186=prefilled field 1;1841579133=prefilled field 2;[email protected]"
></div>
<script async src="https://cdn.customgform.com/cgf.js"></script>
OptionTypeDescription
data-customgformstringCustomGForm Form ID
data-prefill_fieldsstringList of fields to prefill, separated by semicolon
💡

Replace FORM_ID to your customized CustomGForm form ID.

Codesandbox example (opens in a new tab)