title | layout | fluid | section | weight | lib |
---|---|---|---|---|---|
Form Builder |
default |
true |
builder |
30 |
builder |
The Form Builder allows you to build a FormWizardPDF
which Renders as a Form in your Application
Find us on GitHub @ https://github.com/formio/formio
var onBuild = function(build) {
jsonElement.innerHTML = '';
formElement.innerHTML = '';
jsonElement.appendChild(document.createTextNode(JSON.stringify(instance.schema, null, 4)));
Formio.createForm(formElement, instance.form).then(onForm);
};
var onReady = function() {
var jsonElement = document.getElementById('json');
var formElement = document.getElementById('formio');
instance.on('change', onBuild);
};
instance.ready.then(onReady);
}); };
// Handle the form selection. var formSelect = document.getElementById('form-select'); formSelect.addEventListener("change", function() { setDisplay(this.value); });
setDisplay('form'); </script>