WebForm.addFinalPageMessage

Adds a message that will be displayed to the user on the form's final page.

A form's final page is an optional special page which is only displayed to the user in certain circumstances. It is displayed when a Finish button Control is clicked or a finish button within a Page Navigation Control Panel is clicked. The final page is configured via a form's properties and has limited configuration options.

Further documentation.

A final page message can be added at any time during form processing. These messages are typically used to provide feedback to indicate that the user's request has been successfully processed e.g. feedback any generated reference id, or inform the user that a confirmation email has been sent.

To add a multi-lingual final page message, use method #addFinalPageMessage(int, String[])

Javascript example:

 form.addFinalPageMessage("Your request has been received successfully - reference number is " + fields.REF_NO.value);
 form.addFinalPageMessage("An email confirmation of this transaction has been sent");
 

Parameters

java.lang.String  message,