How to show dynamic error message with field in Oracle apex

Sometimes we need to show specific error message highlighted with related field item. Below example showing if the user status is inactive during login it will show ‘Inactive User’ instead of showing ‘Invalid login’:

 

Note: Make sure you did not put ‘:’ before Page Item to assign value of parameter p_page_item_name You can show your message also dynamic, in that case put your dyanamic message in a variable and place that variable name in the p_message => section.

To show both field and notification use

To show on error page use  apex_error.c_on_error_page

To show only in notification use below:

Thank You