Example: COMBOBOX in custform.per

This example shows how to define a combobox in a text-based form specification file (custform.per).

Form custform.per:
 1 COMBOBOX f5=customer.state, REQUIRED, NOT NULL, 
 2   ITEMS = ("IL", "IA", "WI");
Note:
  • Line 1: Defines a COMBOBOX is substituted instead of a simple EDIT form field.
  • Line 2: Defines the ITEMS attribute with a list of values for the combobox drop-down list.