balihoo-form-builder-model
Standalone code for building form builder models
Last updated 5 months ago by chadn .
Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install balihoo-form-builder-model 
SYNC missed versions from official npm registry.

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

Current Tags

  • 2.2.3                                ...           latest (5 months ago)

43 Versions

  • 2.2.3                                ...           5 months ago
  • 2.2.2                                ...           3 years ago
  • 2.2.1                                ...           3 years ago
  • 2.2.0                                ...           3 years ago
  • 2.1.9                                ...           3 years ago
  • 2.1.8                                ...           3 years ago
  • 2.1.7                                ...           3 years ago
  • 2.1.6                                ...           3 years ago
  • 2.1.5                                ...           3 years ago
  • 2.1.4                                ...           3 years ago
  • 2.1.3                                ...           3 years ago
  • 2.1.2                                ...           3 years ago
  • 2.1.0                                ...           3 years ago
  • 2.0.3                                ...           3 years ago
  • 2.0.2                                ...           4 years ago
  • 2.0.1                                ...           4 years ago
  • 2.0.0                                ...           4 years ago
  • 1.9.0                                ...           4 years ago
  • 1.8.0                                ...           4 years ago
  • 1.7.4                                ...           4 years ago
  • 1.7.3                                ...           4 years ago
  • 1.7.1                                ...           4 years ago
  • 1.7.0                                ...           4 years ago
  • 1.6.1                                ...           4 years ago
  • 1.6.0                                ...           4 years ago
  • 1.5.0                                ...           4 years ago
  • 1.4.5                                ...           4 years ago
  • 1.4.4                                ...           4 years ago
  • 1.4.3                                ...           4 years ago
  • 1.4.2                                ...           4 years ago
  • 1.4.1                                ...           4 years ago
  • 1.4.0                                ...           4 years ago
  • 1.3.3                                ...           4 years ago
  • 1.3.2                                ...           4 years ago
  • 1.3.1                                ...           4 years ago
  • 1.3.0                                ...           4 years ago
  • 1.2.1                                ...           4 years ago
  • 1.2.0                                ...           4 years ago
  • 1.1.5                                ...           4 years ago
  • 1.1.4                                ...           4 years ago
  • 1.1.3                                ...           4 years ago
  • 1.1.2                                ...           4 years ago
  • 1.1.0                                ...           5 years ago
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 1
Dependencies (6)
Dev Dependencies (10)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |