Configure Static and Dynamic List of Values Fields

Use checklists, radio button or select controls to create static or dynamic list of values in your web form. Static list of values are defined in the control properties. Dynamic list of values are defined from a collection of available attributes or are based on a REST call.

You can configure static and dynamic list of values for checklists, radio buttons and select controls from Option Source in the General tab. In Option Source specify whether the control’s options should come from static values you enter, from a list of values data attribute, or externally from a REST connector created for the application.

To configure static and dynamic list of values (for checklist, radio button and select controls):

  1. From the Basic Palette, drag and drop a checklist, radio button or select control onto the canvas.
  2. Select the control and configure its static list of values on the Properties pane General tab.
    1. Go to Option Source and click Static.
    2. In the Option Names field, enter a label to display for each option.
    3. In the Option Values field, enter an internal value for each option.
    4. Specify a default value from the option values available in the Default Value field.
    5. Select an option in the Autofocus field to make that option the selected option when the form loads.
  3. Optionally, configure dynamic list of values for the checklist, radio button or select control. There are two options to configure dynamic list of values.
    • Specify that the control’s options should come from a list of value data attributes defined in the Data definition pane.

      1. Click From Data.

      2. Select the list of values options source from available attributes in the Options List field.

      3. Specify a default value from the options available in the Default Value field.

      4. Select an option in the Autofocus field to make that option the selected option when the form loads.

    • Specify that the control’s options should come from a REST connector created for the application.

      1. Click Connector.

      2. Specify the connector settings in the Connector, Resource and Operation fields and map response settings. See Populate Controls Using REST Calls.

      3. Select an option in the Autofocus field to make that option the selected option when the form loads.

  4. Click Preview to try out using the control.