react-jotform-embed

A rewrite for React of the embedded iframe provided by JotForm

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
react-jotform-embed
1.1.37 months ago6 years agoMinified + gzip package size for react-jotform-embed in KB

Readme

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.
npm GitHub issues Sponsor

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