I'm trying to implement a reset button in Oracle APEX that:
Shows a confirmation dialog (P1002_CONF_MESSAGE item) only if any form fields were modified
Resets immediately if no changes exist.
Is that possible without using javascript?
Very minimal.
Create a dynamic action on click of your reset button, with a client side condition of a JavaScript expression
apex.page.isChanged()
The true condition would need to show your confirmation dialog, which could be a Confirm action, sourcing the message from your item using
&P1002_CONF_MESSAGE.
And a subsequent submit action, presumably with request RESET. The false action would solely be a submit action.