Improved Form System
See the tickets: #254, #263, #315, #320, #321 (META), #427
Components
The system looks like this:
- Form type
- Fields
- Layout
- OpenDocument template (optional)
- Filled form of the type 'form type'
Form type is a collection of fields such as 'name', 'address' and 'phone number'. Each field has a name and a type (maybe a default value?). These fields define the information that you want to collect from the users. When user fills a new form, he must provide values for each of these fields. The user fills the new form by using a page that is generated by the system according to the fields and the layout of the form type.
The layout of the form type defines how the form-filling-page is generated. Layout groups the fields together and gives them labels.
OpenDocument template can be used to export the information from the CMMS to a text document. This document can then be shared electronically or printed. In the new system, the template is no longer required.