legalthings/legalform-js

JavaScript library to create a form from a LegalForms definition

Installs: 3 070

Dependents: 0

Suggesters: 0

Security: 0

Stars: 5

Watchers: 14

Forks: 3

Open Issues: 4

Language:JavaScript

v0.4.3 2021-06-17 09:33 UTC

This package is auto-updated.

Last update: 2024-11-12 11:25:37 UTC


README

JavaScript library to create the HTML of a form a LegalForms definition.

Installation

For use in a PHP project

composer install legalthings/legalform-js

CDN

You can load legalform.js using the rawgit CDN.

<script src="https://rawgit.com/legalthings/legalform-js/master/legalform.js"></script>

Usage

var formHtml = new LegalForm().build(definition);

Demo

View the demo here or in material