Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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 BinderData Store

Get Started

The easiest way to see how the Select Box works is to create a new app. Here are the steps:

  1. Start the Joget Server and open theApp Center.

  2. Log in as admin and click on the pencil icon on the Expenses Claim  to open the App Composer. (see Figure 1)
    Image Removed
    Image Added
    Figure 1

  3. Under For Builder column, click on Expense Claim Entry (see Figure 2).


    Figure 2

  4. Drag and drop a Select Box  element on to the canvas.

  5. Click on the Select Box element to open up the Configure Select Box properties.

  6. Fill up the following fields as follows and click on Apply Change (see Figure 3):

    1. ID: type
    2. Options (Hardcoded):

      Default ValueLabel
      LocalLocal
      InternationalInternational


    Figure 3

  7. Click onPreview click on the options available in the country field.

...

NameDescription
LabelElement 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

Info

Options defined here will not be put into use if Options Binder is defined below.

Or Load Data From

Options to be populated dynamically using Options Binder plugin.

Warning
titlePerformance Warning

If you have thousands of select options or sourcing them from Options Binder, this may cause a significant increase in page load time. Consider using Popup Select Box instead.

...