Skip to content

Latest commit

 

History

History
26 lines (16 loc) · 558 Bytes

README.md

File metadata and controls

26 lines (16 loc) · 558 Bytes

legalform-js

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