Java script used to control the behavior of a request form field has no effect in Internet Explorer 11 (IE11) in RSA Identity Governance & Lifecycle
Originally Published: 2020-01-23
Last Modified: 2023-11-30
Article Number
Applies To
RSA Version/Condition: 7.0.x, 7.1.x, 7.2.x
Browser: Internet Explorer 11 (IE11)
Issue
This common java script syntax works in all browsers except IE11. In IE11, the java script has no effect on the form behavior and if the IE Developer Tools (F12) option is enabled, the following error message occurs:
'<field-name>' is undefined
Example 1: Multi Select Drop Down and Static Text
In the example below, a request form is defined with a Multi Select Drop Down field called UserDetails that allows the user to choose either Name or Phone from the drop down list. A Static Text field called SelectedOption is defined to display text on the form if Name is chosen from the Multi Select Drop Down field.
Field Definitions:
Here is the java script used to define when this field is displayed:
Expected Behavior in all browsers:
The expected behavior is to display the Static Text You have selected 'Name' only when Name is selected.
Note that in IE11 the Static Text shows regardless of what option is selected from the drop down menu.
Example 2: Controlbox
A similar problem occurs with Control Type Checkbox. In the example below, a check box is defined to display on the form by default. Unchecking the box removes the check box from the form.
Field Definition:
Here is the java script used to define when this field is displayed:
Expected Behavior in all browsers:
The expected behavior is to display the Checkbox Display User Name when the form is run.
Actual Behavior in IE11 only:
Note that in IE11 the Checkbox Display User Name is not displayed when the form is run.
Cause
Resolution
For Control Type Multi Select Drop Down
Modify the java script
FROM:
FROM:
(UserDetails.options[0].selected === true)
TO:
(document.getElementById('UserDetails') && document.getElementById('UserDetails').options[0].selected===true)
For Control Type Checkbox:
Modify the java script
FROM:
FROM:
(DisplayUserName.checked === true)
TO:
(document.getElementById('UserDetails') && document.getElementById('DisplayUserName').checked === true)
Related Articles
RSA Identity Governance & Lifecycle menus do not display correctly in Internet Explorer (IE) 11 when using Compatibility V… 132Number of Views Information on Authentication Manager 8.x and the use of OpenSSL (old) 297Number of Views Obtain the version of PostgreSQL used with RSA Authentication Manager 8.x 76Number of Views How to obtain the newer version of database public schema? 55Number of Views Update version is not correct when attempting to perform an upgrade 31Number of Views
Trending Articles
Report preview and/or generation fails with 'java.lang.NoClassDefFoundError: Could not initialize class net.sf.jasperrepor… How to set up the REST RSA SecurID Authentication API for Authentication Manager 8.2 SP1 RSA Authentication Manager 8.9 Patches and Hotfixes Readme RSA MFA Agent 2.5 for Microsoft Windows Installation and Administration Guide How to Change the Token Lifetime Extension Window in Authentication Manager Using rsautil
Don't see what you're looking for?