...
PIPEFORCE Forms is a Forms framework which allows you to declaratively create and design data entry and data preview web forms without programming knowledge required.
The form framework works with the MVC pattern (= model, view. controller) which separates data, view and logic parts from each other.
In order to cover this pattern and tp create such a form in PIPEFORCE, you need these JSON documents in your app:
Form Model (Model)
This JSON contains the values to be displayed in the form and the values which result from the form submit (the data).Form Schema (Model)
This JSON 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 it.
The model and the view documents will be passed to a form generator which is implemented in the portal. It will render and show a form to the user:
Drawio | ||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
After the user has edited the form and clicked the submit button of the form, the form fields and their values will be rendered to a JSON document called the “form output model” (output data). This model is then stored to the output location, which is typically the property store.
The property store then sends a property.create event. A pipeline can then listen to this property.created
event in order to event and handle the form submit controller logic accordingly. For this, also see how to create an event listening pipeline, here: Events .
...