|Oracle® Fusion Middleware Idoc Script Reference Guide
11g Release 1 (11.1.1)
Part Number E10726-01
This function is used on presentation pages to populate the Java script with the desired error message. The error message is set from the content rule user interface for a field that is designated as required. It returns a required message based on the following algorithm:
The function looks for the fieldname:requiredMsg.
If the value exists, it is localized.
If the value is undefined or the message is empty, the function returns the default message and does not localize it. To localize the message, the caller of the function must use the
lc function on the default message before passing it to this function (
Type and Usage
This function takes two parameters:
Fieldname: Field associated with the error message.
Message: Default message to be used.