Populating Label/Value Pairs Manually

Applies to Radio But­tons, Check Boxes, and Combo Boxes.

To manually enter label/value pairs for a Radio Button, Check Box, or Combo Box, follow the steps below:

1. Right-click the input control, and select 'Properties' from the con­text menu. This opens the 'Properties' dialog box.

2. Select the General tab.

3. Under the heading 'List Values', select the 'Embedded' option, and click on the 'Edit' button. This opens the 'Embedded List Values' dialog box.

4. Click the 'Add' button. This will populate the list with 'Label' and 'Value'.

5. Double click on the list elements, and enter a desired Label and Value.

6. To insert more elements, repeat the above steps.

 

7. Click 'OK' when you are finished adding items.

8. In the 'Data Type' field, specify the data type of the values you entered in the 'Value' column.

9. Press 'OK' to exit the 'Properties' dialog box.

To use data field names as the label/value pairs for the input control, simply drag the field names from the Component panel onto the input component in the desired sequence.

 

This approach is preferable to manually typing the field names in the embedded list, because it protects you from entering misspelled field names. After adding the fields to the list this way, you can modify the labels by editing the embedded list as described previously.

<< 8.3.1 Creating a Radio Button/Check Box/Combo Box © 1996-2013 InetSoft Technology Corporation (v11.4) Populating Label/Value Pairs from Query >>