Associating a Label With a Control

How to:

You can associate a label with a control in an HTML page, using one of the following methods:

Procedure: How to Associate a Label With a Control Using the Bind label to Option

  1. Create an HTML page with a Label component and three controls (for example, drop down, calendar, and slider).
  2. Select both the label and the control to which you want to associate the label.
  3. Right-click the canvas and select Bind label to, as shown in the following image.

    The label, label1, is now associated with the calendar1 control.

Procedure: How to Associate a Label With a Control Using the Properties Panel

  1. Create an HTML page with a Label component and three controls (for example, drop down, calendar, and slider), as shown in the following image.
  2. In the Properties panel for the label, from the HtmlFor property drop-down list, select the control to which you want to associate the label, as shown in the following image.

    The label, label1, is now associated with the calendar1 control.

WebFOCUS

Feedback