Alpaca provides the easiest way to generate interactive HTML5 forms for web and mobile applications. It uses JSON Schema and simple Handlebars templates to generate great looking, dynamic user interfaces on top of Twitter Bootstrap, jQuery UI, jQuery Mobile and HTML5.
External sources defined as absolute path directing the existing path with the loaded page does not work. Atleast "./" file path prefix needs to be given to make it work as an external URL.
External sources defined as absolute path directing the existing path with the loaded page does not work. Atleast "./" file path prefix needs to be given to make it work as an external URL.
Not working style:
$("#form").alpaca({ "schemaSource": "connector-custom-schema.json", "optionsSource": "connector-custom-options.json", "dataSource": "connector-custom-data.json", "viewSource": "connector-custom-view.json" });
Working style:
$("#form").alpaca({ "schemaSource": "./connector-custom-schema.json", "optionsSource": "./connector-custom-options.json", "dataSource": "./connector-custom-data.json", "viewSource": "./connector-custom-view.json" });