A script-enabled browser is required for this page to function properly.

Creating a Checkbox

To create a checkbox:

  1. In the Object Navigator, click the plus icon icon to add a node beside the desired block node.
    Oracle Forms expands the block node and displays its subnodes.
  2. Click the Items node.
  3. Click Create in the toolbar.
    A new item with a default name is inserted under the Items node.
  4. Double-click the object icon next to the newly created item to display the Property Palette.
  5. Under the General node, set the Item Type property to Check Box.
  6. Under the Physical node, set the Canvas property to the name of the desired canvas.

    Note: To display an item at runtime, you must assign it to a canvas.

  7. Create a label for the checkbox by entering the desired text in the Label property field, found in the Functional node.
    The checkbox label displays to the right of the checkbox element at runtime.
  8. Specify the values you want the checkbox to display as "checked" and "unchecked" in the Value when Checked and Value when Unchecked property fields, respectively. These properties are found in the Functional node.
    For example, if you want the checkbox to be "checked," or On, whenever its stored value is XYZ, enter the string XYZ in the Value when Checked property field.

  9. Set the Check Box Mapping of Other Values property, in the Functional node, to specify how you want the checkbox to handle other values.
    The Check Box Mapping of Other Values property determines how the checkbox handles values that are not specified in the Value when Checked and Value when Unchecked property fields:


About checkboxes

About checkbox values

About checkbox initial values

Specifying an initial value for a checkbox

Manipulating checkboxes at runtime