Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

In order to cover this pattern and to create such a form in PIPEFORCE, you need these documents in your app:

  • Form Model (Model)
    This optional JSON contains the values to initially be displayed in the form and the values which result from the form submit (the data).

  • Form Schema (Model)
    This is a JSON Schema and describes the fields (= model) of your form (the data structure).

  • Form Config (View)
    This JSON brings together all parts and defines the layout of your form (the look & feel and position of the fields).

  • Pipeline (Controller)
    Finally, you create a pipeline which listens to the form submit. After such a submit, the pipeline gets called and can handle the form submit. It has access to the submitted form model and can further process itthe submitted data.

The model and the view documents will be loaded by the form generator which is implemented in the portal. It will render and show a form to the user based on the input documents:

...