balihoo-form-builder-model

2.2.3 • Public • Published

form-builder-model

Standalone code for building form builder models without any UI bindings. This project can build a model and produce a Backbone object hierarchy. This model can then be rendered with ui components in the main form-builder package, or used by itself for processing input and generating JSON output.

Typical Use

The code is most easily obtained in the npm repositories under the package name 'balihoo-form-builder-model'. After install, this code will require and use it.

var http = require('some http client');
var formbuilder = require('balihoo-form-builder-model');

http.get('<formbuilderurl>/<formid>/package', function(err, result) {
  var model = formbuilder.fromPackage(result.body);
  model.applyData({foo:'bar'});
  var output = model.buildOutputData();
});

For more on building and processing saved forms, see the API Docs

For help with authoring forms, see the Model Code Docs

To develop this project or projects that use it, see Development

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
2.2.30latest

Version History

VersionDownloads (Last 7 Days)Published
2.2.30
2.2.20
2.2.10
2.2.00
2.1.90
2.1.80
2.1.70
2.1.60
2.1.50
2.1.40
2.1.30
2.1.20
2.1.00
2.0.30
2.0.20
2.0.10
2.0.00
1.9.00
1.8.00
1.7.40
1.7.30
1.7.10
1.7.00
1.6.10
1.6.00
1.5.00
1.4.50
1.4.40
1.4.30
1.4.20
1.4.10
1.4.00
1.3.30
1.3.20
1.3.10
1.3.00
1.2.10
1.2.00
1.1.50
1.1.40
1.1.30
1.1.20
1.1.00

Package Sidebar

Install

npm i balihoo-form-builder-model

Weekly Downloads

0

Version

2.2.3

License

none

Unpacked Size

93.8 kB

Total Files

14

Last publish

Collaborators

  • balihoo-acobb
  • balihoo-dengstrom
  • jflitton-balihoo