Clear Errors from oracle apex ITEM(s)
Mar 5, 2021
Here you want to clear errors of these ITEMs without reloading/refreshing the page using javaScript.
- Create a button — RESET
- Create a dynamic action
- Call this dynamic action on click of this button (RESET)
- Dynamic Action
1. Event — CLICK
2. Selection Type: Button
3. Button Name: RESET - Dynamic Action True Action
1. Action: Execute JavaScript Code
2. Setting → Code:
apex.message.clearErrors(“PX_VALIDITY”);
apex.message.clearErrors(“PX_PAYMENT”);
apex.message.clearErrors(“PX_DELIVERY”);