Table of Contents | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
|
What is the Form Config?
The Form Config is the central configuration file of a form. It defines things like:
...
The schema
attribute defines a PIPEFORCE URI which is called in order to retrieve the Form schema for this form.
For example, the attribute could look like this:
...
This example would produce a form like this with nested orientation:
...
field
Inside a layout element you can place field elements pointing to field ids (widgets). This element can contain additional attributes like these:
...
hidden
If set to true, the widget is not shown in the form, but the value from the input is sent to the backend on submit. Example:
Code Block | ||
---|---|---|
| ||
...
{
"orientation": "vertical",
"items": [
{"field": "age", "hidden": true}
]
},
... |
readonly
If set to true, the widget value cannot be changed. Example:
Code Block | ||
---|---|---|
| ||
...
{
"orientation": "vertical",
"items": [
{"field": "age", "readonly": true}
]
},
... |
type
TODO
Internationalization (i18n)
...