Skip to content

CERNDocumentServer/dynamic-forms

Repository files navigation

Dynamic forms

Build Status

Dynamic forms.

Installation

bower install dynamic-forms

Usage

In your web page:

<script src="../bower_components/jquery/dist/jquery.js"></script>
<script src="../bower_components/handlebars/handlebars.js"></script>
<script src="../bower_components/dynamic-forms/dist/jquery.dynamic-forms.js"></script>

<script>
jQuery(function($) {
  $('#dynamic-forms').dynamicForms({
    url: 'http://EXAMPLE.com',
    data:{
        content:[
            {
                type: "input",
                label: "A nice label",
                value: "test",
                name: "title",
                placeholder: "Placeholder"
            }
        ]
    }
  });
});
</script>

<div id="dynamic-forms"></div>

Documentation

_(Coming Soon)

About

User suggestions plugin

Resources

License

Stars

Watchers

Forks

Packages

No packages published