Joget DX 8 Stable Released
The stable release for Joget DX 8 is now available, with a focus on UX and Governance.
This form element plugin is a text field with added ability to AJAX load options based on matching keywords.
The plugin source codes can be found at JogetOSS Github. Feel free to clone and customize to suit your needs.
Figure 1: Edit Autocomplete Text Field
Element ID (By declaring as "title", a corresponding database table column "c_title" will be created)
Please see Form Element for more information about defining the ID and list of reserved IDs.
|Label||Element Label to be displayed to the end-user.|
|Field ID to Store Selection Value||Key in a field ID of an existing form element in the form to store the selected option "Value".|
Select Box options
Options defined here will not be put into use if Options Binder is defined below.
|Or Choose Options Binder|
Options to be populated dynamically using Options Binder plugin.
Upon selecting an option, the option "Label" will be used in this text field.
Figure 2: Edit Autocomplete Text Field > Advanced Options (Data part)
Default Value when there's no existing value found.
A hash variable is accepted here. For example, you may key the following to pre-populate the field with currently logged in user's name.
Attach a Validator plugin to validate the input value, more information at Form Validator.
When will validation takes place?
Validation will take place whenever a form is submitted, except when it is submitted as "Save as Draft".
Figure 3: Edit Autocomplete Text Field > Advanced Options (UI part)
|Width of the element.|
Determines if the element is editable.
|Display Field as Label When Readonly?|
Displays the value of the element as plain text when an element is set to "Readonly".
Figure 4: Edit Autocomplete Text Field > Advanced Options (Workflow part)
If the form is part of a workflow process, upon saving of the form (by clicking on "Save as Draft" or "Complete" button). The value in this input field will be saved into the corresponding workflow variable named here.
Using a non-existent Workflow Variable name
You will get the following warning with the name printed out (e.g. status) in the server log if you attempt to map to a non-existent Workflow Variable.