Render forms and surveys with javascript from json definition
You can create a form/survey json definition, using the builder user interface at https://survey.uitrlab.ok.ubc.ca/survey-tool-demo/
├── documentRoot
│ ├── dist
│ │ ├── form.js
│ └── survey.json
<script src="dist/form.js"></script>
<script type="text/javascript">
(function(){
document.body.appendChild((new SurveyRenderer()).render("survey.json"));
})();
</script>
- Internal naming consistency: the names
node
,section
andpage
are used and it is confusing and not consistent