Joget DX 8 Stable Released
The stable release for Joget DX 8 is now available, with a focus on UX and Governance.
Enhanced Grid Form Element extends the default functionalities of a typical grid element. Unlike the generic grid element that only accepts standard text field as its inputs, this Enhanced Grid Form Element captures data by making reference to another form element. Hence, one can take full advantage of what a typical form element has to offer, e.g. validation, formatting.
Figure 1: Properties of Enhanced Grid Form Element
Apart from setting up the columns, an external form can be set to capture more data that what the grid actually shows. One can also defines the format on the returned data.
Available Format Type
Date - Formats as date. Original Date and New Date format are expected in the "Format" field.
Format: [input format]|[output format]
Example of usage
Original value: 5/23/2012
Expected value: 2012/5/23
Format: M/d/y|y/M/d
Please refer to Java SimpleDateFormat for Date format.
Enhanced Grid Form Element in a form
Adding a new row would bring up the external form and upon submission, the data will be stored accordingly in the background and in the columns with matching IDs.
Figure 2: Sample working example of the Enhanced Grid Form Element
Figure 3: Adding new entry in the sample working example of the Enhanced Grid Form Element