Oracle Forms (MOSC)

MOSC Banner

Help on RMS 11g forms alerting

edited Apr 28, 2017 5:02AM in Oracle Forms (MOSC) 2 commentsAnswered

Currently we are using the piece of code below in webutiljpi.htm to notify the user to close the RMS screen when he/she tries to exit via internet explorer.

<script language="JavaScript">

window.onbeforeunload=confirm;

function confirm() {

event.returnValue = "Closing RMS Forms Application. Any unsaved changes will be lost! OK to Continue with close ?";

}

</script>

However, the message still shows when clicking "x" in internet explorer even though user closed RMS screen properly.

Do you have any advise so that the message will only show if RMS is actually closed?

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center