⚠ This project is no more maintained. Check (https://github.com/sbayd/jotform-react) for a more up-to-date alternative. ⚠
A rewrite for React of the embedded iframe provided by JotForm https://www.jotform.com/
This handles the resize mechanism provided by JotForm.
npm install react-jotform-embed
import JotformEmbed from 'react-jotform-embed';
<JotformEmbed src="https://form.jotformeu.com/123456789" />
- 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
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 my work on https://github.com/sponsors/xurei