Skip to content

antoniowd/react-jotform

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

react-jotform

A React component to embed the Jotform iframe https://www.jotform.com/

This handles the resize mechanism provided by JotForm.

npm GitHub issues

Install

npm install react-jotform

Usage

import Jotform from 'react-jotform';

<Jotform 
  src="https://form.jotform.com/123456789" 
  defaults={{
    name: 'John'
  }}
/>

Props

  • src : The url of your jotform, as given in their publish section.
  • defaults: An object to define defaults values for the jotform.
  • scrolling : A boolean to allow or disallow scrolling. Scrolling is turned off by default.
  • title: A title for the jotform.