Create checkboxes on your item

To add a set of checkboxes to your form, you add a codelist to an item. In Oracle InForm, the item question appears on the left of the page, and the codelist (the set of checkboxes) appears on the right.

For example, your form might include a Gender item (itmGender). To add checkboxes that allow the user to select a subject's gender, you add a codelist (cdlGender), and codelist items Male (cdlitmMale) and Female (cdlitmFemale).

  1. At the bottom of the Project Explorer, click the Visit Schedule (Visit Schedule button) button.
  2. Expand the visit and form with the item you want to add the codelist to.
  3. In the grid, highlight the item's row by clicking the box on the left.
  4. At the top of the Design tab, click Codelist, and select New.
  5. In the New Codelist dialog box, in the Design tab, enter a title, RefName, and description for the codelist.
  6. In the Data type drop-down list, select a data type for the codelist.

    Tip:

    The data type must match the data type of the codelist's parent item, and all codelist items (the options in the drop-down list) that you add to the codelist.
  7. In the grid, enter a title, RefName, code, label, and description for each codelist item (option in the drop-down list), and press Enter or tab to save each row.

    Tip:

    The label is the value that appears for each option in the drop-down list in Oracle InForm.
  8. On the Design tab, in the Codelist Settings section, click Select Multiple Values, and select the minimum and maximum number of checkboxes the user can select.
  9. At the top of the page, select the Layout tab.
  10. If you haven't already done so, click Create Layout.
  11. To configure the display of the checkboxes, right-click the codelist that you just created, select Orientation, and select Horizontal or Vertical.