Symantec IGA

Expand all | Collapse all

Verification screen javascript validation to set question value to empty

Jump to Best Answer
  • 1.  Verification screen javascript validation to set question value to empty

    Posted 02-28-2017 10:15 AM

    I have a verification screen which uses javascript for some validations. As a part of the logic, I have to set the value for logical attribute |Question1| and so on. I can successfully do that by using the following syntax:


    However, I want to empty the value for the question as well and following syntax does not work:


    Does anyone has some pointers on how to set this value back to empty? Using null instead of "" obviously fails. I am using CA IDM 12.6.8 CR2 version.

  • 2.  Re: Verification screen javascript validation to set question value to empty
    Best Answer

    Broadcom Employee
    Posted 03-01-2017 09:05 AM


        This really has less to do with IdentityManager and more to do with java script setting an ldap attribute.


        That and the fact that the Question/value pairs are read/write/required and must have something written to the attribute.


        You cannot set the value of a read/write/required to "" or Null. Setting it to a known value is also dangerous.

        step 5:

    Modify the screen definition to include the Logical Attributes for each of the verification question and answer pairs that should appear on the screen. For example, add fields as follows:
    |VerifyQuestion1| - Read only.
    |VerifyAnswer1| - Write Required.




    Determines the privilege level for the field.

    Note: If a field is required by the user store, choose a Required setting. Required fields are indicated by a yellow dot in the screen.

    Write Required

    Specifies that a field is required, but otherwise functions as the Write setting.



    I have struggled to find anything to help you with this search:*


    or this one:




      I did find this one:


      It mentions this:deleteValue(value) Deletes a string value from the attribute. 

      However that does require you to create and manage your own ldap session?


    So I do not have a real answer for you, just an understanding that the values have to have something, it cannot be null or blank, but setting them to a known value is very dangerous.



    Bill Patton