...
The easiest way to see how the Select Box works is to create a new app. Here are the steps:
- Start the Joget Server and open and open the App Center.
- Log in as admin and click on the pencil icon on the Expenses Claim to open the Design App Composer. (see Figure 1)
Figure 1 - Under FORMS Under For Builder column, click on on Expense Claim Entry 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 Apply Change 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.
...
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.
Available Options:
| |||||||
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.
|
...