...
- Start the Joget Server and open the App Center.
- Log in as admin and click on the pencil icon on the Expenses Claim to open the Design App. (see Figure 1)
Figure 1 - Under FORMS column, click on Expense Claim Entry (see Figure 2)
Figure 2 - Drag and drop a Select Box element on to the canvas.
- Click on the Select Box element to open up the Configure Select Box properties.
Fill up the following fields as follows and click on OK (see Figure 3):
- ID: type
Options (Hardcoded):
Default Value Label Local Local International International
Figure 3- Click on Preview, click on the options available in the country field.
Select Box Properties
...
Configure Select Box
Name | Description | |||||
Label | Element Label to be displayed to the end-user. | |||||
ID | Element ID (By declaring as "country", a corresponding database table column "c_country" 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 . | |||
Options (Hardcoded) | Select Box options
| |||||
Or Choose Options Binder | Options to be populated dynamically using Options Binder plugin.
|
Advanced Options
Data
Name | Description | |||||||
---|---|---|---|---|---|---|---|---|
Value | Default Value when there's no existing value found/selected. 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. You may define multiple default options by separating them using semicolons.
| |||||||
Multiple Selection | Toggle Multiple Selection. | |||||||
Validator | Attach a Validator plugin to validate the input value.
| |||||||
Workflow Variable | 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.
|
...