The FormInfoHeader script include provides methods to add an HTML message as a form info message.

The addMessage() method is commonly used in record producers.

FormInfoHeader - addMessage(String message)

Adds an HTML message to the form header, where form info messages are displayed.

Table 1. Parameters
Name Type Description
message String A message that may include HTML tags.
Table 2. Returns
Type Description
void

Example

gs.include("FormInfoHeader");
  var fi = new FormInfoHeader();
  fi.addMessage('This incident was opened on your behalf<br/>
     The IT department will contact you for further information or when the incident is resolved');