We can add messages in the form to display information to the user. There are debug messages and there are messages that we can call from the message dictionary. Debug messages can be triggered by a call to fnd_messages.debug(<debug message>)
;. However, if we want to call a message that the user will see we need to add it to the message dictionary and then call the message from within our form. The message dictionary is a central repository that stores messages displayed to the user. The reason we would use the message dictionary is so that we do not have to hard code messages in our form. Also, the message can be re-used in other forms and will maintain a consistent look and feel when messages are displayed. We can also insert dynamic text into a message from data within our form at runtime. There are a number of steps we need to perform to utilize a message dictionary:
Creating a message directory
Creating a message
Creating a message file...