Show TOC

HTML Code in Label ControlsLocate this document in the navigation structure

Use

You can permit or prevent the use of HTML code in label controls. If you permit the use of HTML code, the system interprets HTML tags for text formatting, for example. Otherwise, the system ignores HTML tags.

Caution

If you permit the use of HTML code, the system also executes JavaScript code. You may wish to suppress the execution of JavaScript code for security reasons.

You can specify whether the system executes HTML code in various places as follows:

  1. Global setting

    System administrators can suppress HTML code in forms globally in the KM configuration. This makes all other settings ineffective.

  2. Project-specific setting

    You can define how the system deals with HTML code in each individual project in the XML Forms Builder ( Start of the navigation path Options  Next navigation step Forms  Next navigation step  HTML Code End of the navigation path).

    Option

    Description

    Allow All Tags

    The system interprets HTML code in all label controls. Remember that you may wish to suppress the execution of JavaScript code for security reasons.

    Determined by Control

    You define whether the system interprets HTML code or not for each individual control.

    Remember that you may wish to suppress the execution of JavaScript code for security reasons.

    Strip All Tags

    The system does not interpret HTML code in any of the label controls in the project.

  3. Control-specific setting

    You can use the Display HTML property to permit or suppress the execution of HTML code. This setting only takes effect if you selected Determined by Control in the options.

    Recommendation

    We recommend that you only permit HTML code for fields that authors created using the HTML editor.