🚀 Quick start
React App Quickstart
Learn how to add CustomGForm to your React or Next.js app
Install
pnpm i @customgform-lib/react-customgformAdd to your React component
// ts
import React from 'react';
import CustomGForm from '@customgform-lib/react-customgform';
function Example() {
return <CustomGForm
formId="clj5flan90005wnju2yq4k38b"
prefillFields={{
'325391704': 'John',
'1801257527': '[email protected]',
}}
/>;
}| Option | Type | Description |
|---|---|---|
| formId | string | CustomGForm Form ID |
| prefillFields | object | (optional) list of fields to prefill, e.g {"1801257527": "[email protected]"} |
Replace FORM_ID to your customized CustomGForm form ID.
Embed Google Form in HTML Website Quickstart
Learn how to embed CustomGForm in any static or dynamic HTML website in standard inline or popup modal mode.
Embed Google Form in WordPress Website Quickstart
Learn how to embed CustomGForm in your WordPress website using the Custom HTML block in standard or popup modal mode.