Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table of Contents
minLevel1
maxLevel73
outlinefalse
typelist
printablefalse

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
languagejson
      ...
      {
        "orientation": "vertical",
        "items": [
          {"field": "age", "hidden": true}
        ]
      },
      ...

readonly

If set to true, the widget value cannot be changed. Example:

Code Block
languagejson
      ...
      {
        "orientation": "vertical",
        "items": [
          {"field": "age", "readonly": true}
        ]
      },
      ...

type

TODO

Internationalization (i18n)

...