wotc-form

1.0.36 • Public • Published

WOTC.com JavaScript Screening Form

An embedded JavaScript snippet to generate the WOTC.com screening form directly in your website or application.

image

Basic Implementation

<form id="specialForm"></form>
<script src="https://cdn.jsdelivr.net/gh/wotc-com/wotc-form@master/build/js/forms.js"></script>
<script>
	WotcForm.init('specialForm', {
	  groupId: 484158277, // required
	  formId: 589972586, // required
	  data: { // optional to prefill form
	    name: 'Bob Hope',
	    dob: '1903-05-29'
	  }
	});
</script>

React

Installation

npm install

NOTE: Importing directly to a React project and using a react component has not been tested. Currently only testing has been direct front-end implementation.

Start Dev Server

npm run start

Features:

Package Sidebar

Install

npm i wotc-form

Weekly Downloads

3

Version

1.0.36

License

MIT

Unpacked Size

12.4 MB

Total Files

11

Last publish

Collaborators

  • roblesterjr04