Table of Contents
Introduction
English |
---|
Select Box is one of the generic HTML Form input elements. In the Form Builder, one is able to define the options available to the Select Box via various means, including with the use of Form Options |
...
Data Store |
Get Started
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 | |||||
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. | |||||
Options (Hardcoded) | Select Box options
| |||||
Or Choose Options BinderLoad Data From | Options to be populated dynamically using Options Binder plugin.
|
...
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.
|
...