react-jotform-embed

1.1.3 • Public • Published

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

/react-jotform-embed/

    Package Sidebar

    Install

    npm i react-jotform-embed

    Weekly Downloads

    3,649

    Version

    1.1.3

    License

    MIT

    Unpacked Size

    18.9 kB

    Total Files

    5

    Last publish

    Collaborators

    • xurei