Survey
Jump to navigation
Jump to search
This page demonstrates the following features:
- value converters. A schema can define a converter at any level by which to convert the value forth and back via a callback. In this case the converter is used to generate a "survey" schema from the output of the survey builder (2nd form)
describedBylink relation (see json-schema-hypermedia) to interactively load the schema definition for the selected input (see JsonSchema:SurveyBuilderLinear)- use of conditions (if/then/else) to conditionally display the input select based on the data type
x-collapsibleto group rows and column items in the survey builder
Basically the survey builder (2nd form) generates the schema appropriate to display the survey in the first form thanks to a converter
Schemas:
Parser function:
{{#jsonforms:Default
|schema=GeneratedSurvey
|edit={{FULLPAGENAME}}/Survey
|width=800px
}}
loading form
|schema=SurveyBuilderLinear
|edit=JsonSchema:GeneratedSurvey
|slot=main
|return_page={{FULLPAGENAME}}
|width=800px
}}
loading form
See also
- Demo JsonForms
- Comments
- Captcha
- Contact Form
- Survey
- SMW Ask query builder
- Wikispeech
- Interactive demos
- Interactive JSON-Schema-Test-Suite
- Form Builder (requires permissions)
- Schema Builder (requires permissions)