Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Info
titleAvailability

This routine is available starting with 

  • Power Scripts 2.5 (server)
  • SIL Engine (former katl-commons) 2.5

Syntax

lfHide(field)

Description

...

Warning
titleHiding fields and security

Note that hiding fields on the screen is not secure. This is not a security solution, the field is still present in HTML and can still be inspected via a simple Show page source.

Use this feature only to put a certain logic on the screen.

Parameters

ParameterTypeRequiredDescription
fieldStringYes

Specifies the field to hide.

See Standard Variables for available fields.

Example

The following code will hide the issue type field from the issue if the assignee is not an admin.

...