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.
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:
Global setting
System administrators can suppress HTML code in forms globally in the KM configuration. This makes all other settings ineffective.
Project-specific setting
You can define how the system deals with HTML code in each individual project in the XML Forms Builder (
).
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. |
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.
We recommend that you only permit HTML code for fields that authors created using the HTML editor.