The Zurich release has arrived! Interested in new features and functionalities? Click here for more

What Does "Leave Alone" in Visible in UI Policy mean?

pia9388
Mega Contributor


Trying to create some UI Policies and don't know the difference of the 3 options for visible: True; False; Leave Alone.

5 REPLIES 5

tltoulson
Kilo Sage

Hi Per,



True: Displays the field


False: Hides the field (as long as its not mandatory!)


Leave Alone: Does not change anything about the visibility of the field (useful if different UI Policies can affect different properties of the field)


I have a client script onLoad to control display of a field based on GlideAJAX condition.
Also, there is a UI Policy controlling the 'Mandatory' feature of the same field, but Visible property is 'Leave Alone'.
Still, the setDisplay(True/False) doesn't have required affect.
So, does the UI Policy overwrite the client script even if selected 'Leave Alone'?

ahaz86
Mega Guru

leave alone means do nothing based on the conditions


Anurag Tripathi
Mega Patron
Mega Patron

Leave alone literally means leave alone-> no action for this particular operation.


-Anurag