Header Ads

Header ADS

User Define Error Message on Oracle Apex

User Define Error Message on Oracle Apex

Topic Introduction: This tutorial will discuss how to show the User Define Error Message on Oracle Apex. It can be used in the process. Learn how to customize error messages in Oracle Apex to enhance the user experience and improve error handling in your application.



IF :P01_PROBLEMS IS NULL THEN
apex_error.add_error(
      p_message => 'Error: Please set problems for your complain!!!'
    , p_display_location => apex_error.c_inline_in_notification
    );
    
 ELSIF :P312_ITEM_SL IS NULL THEN
  apex_error.add_error(
      p_message => 'Error: Please add serial number for your complain!!!'
    , p_display_location => apex_error.c_inline_in_notification
    );    
END IF;


IF MMM=1 THEN
APEX_APPLICATION.G_PRINT_SUCCESS_MESSAGE :='Success..';
ELSE
APEX_APPLICATION.G_PRINT_SUCCESS_MESSAGE :='<span style="color:Red">Please add atleast 1 Parcel details..</span>';
END IF; 

No comments

Theme images by Deejpilot. Powered by Blogger.