react-jotform-embed
A rewrite for React of the embedded iframe provided by JotForm https://www.jotform.com/
This handles the resize mechanism provided by JotForm.
Install
npm install react-jotform-embed
Usage
import JotformEmbed from 'react-jotform-embed';
<JotformEmbed src="https://form.jotformeu.com/123456789" />
Props
- src : The url of your jotform, as given in their publish section.
- scrolling : A boolean to allow or disallow scrolling. Scrolling is turned off by default
Notes
To pre-populate forms in the field, add them as url params to your form. For example:
let name = "John";
<JotformEmbed src="https://form.jotformeu.com/123456789?name=John" />
Support Open-Source
Support my work on https://github.com/sponsors/xurei