Previous Topic: How to Change Field Display Properties Dynamically

Next Topic: Screen-Defined Logical Attributes

Configure Dynamic Field Display Properties

You can configure CA Identity Manager to hide and show, or enable and disable a field on a profile screen based on the value of another field on that screen.

To configure dynamic field display properties

  1. Edit the profile screen.

    CA Identity Manager displays a list of fields configured for the screen.

  2. Add the field for which you are configuring dynamic field properties, if necessary.
  3. Click the Edit icon next to the field name to edit it.

    CA Identity Manager displays the Field Properties dialog.

  4. Enter JavaScript code in the Validation JavaScript field using the following method:
    function validate(FieldContext, attributeValue, changedValue, errorMessage) 
    

    The FieldContext class includes the following methods for showing/hiding and enabling/disabling a field:

  5. Click Apply, then Click OK.


Copyright © 2010 CA. All rights reserved. Email CA about this topic