Troubleshooting
Problem
When a form is housed within an iFrame, users are receiving the message "Are you sure you want to navigate away from this page" when forms are signed using IBM Forms Server.
Diagnosing The Problem
Users see the following error:
Resolving The Problem
There are two ways to remove the message from occurring...
1) You can set the dirtyflag to 'off' and then users won't see the message when they close the form. An example is shown below using a button.
<button sid="BUTTON1">
<itemlocation>
<x>287</x>
<y>50</y>
<width>173</width>
<height>22</height>
</itemlocation>
<value>SET DIRTY FLAG to OFF</value>
<custom:setDirtyFlag xfdl:compute="toggle(activated, 'off', 'on') == '1' ? set('global.global.dirtyflag', off')) :''"></custom:setDirtyFlag>
<type>link</type>
<url></url>
</button>
2) If you never want to show the 'Are you sure you want to navigate away' message, there is a property that can be added to the translator.properties file. Details are shown below.
ignoreDirtyFlagOnUnload
***********************************
Description Disables dirtyFlag check when unloading a form in a Web
browser.
Valid values are: none, all, portal.
Default none
Set value to all
***********************************
Was this topic helpful?
Document Information
Modified date:
15 November 2019
UID
swg21474798