Configure a label for a control

Some controls such as text box, drop-down list and radio button list have a label displayed for them by default. You can select to hide the label so that the label is not displayed at runtime. You can also configure the label to change the height, width and other properties.

  1. On the Extended Properties page of a control, click the Label tab.
  2. A label displays the default text (label1). Change the text to something meaningful, for example Customer Name.
  3. Set the Width of the control.
  4. Select the Position of the label to be Left or Top.
  5. To set the Style, select one of the following:
    • Theme: Keep the default theme.

      Themes are defined globally, outside of forms and sites, and are then associated with a site. Forms are rendered as part of a site. The theme associated with the site determines the style for the controls.

    • Inline: Define a style for the control by setting the font, font size, alignment and other options.

      Inline style settings override the Default theme.

    • Class: Enter the name of the CSS class. This class is applied to the control only when it is available in the style sheet that is associated with the theme. If the class does not exist in the style sheet, then the control uses the default style.