Skip to end of banner
Go to start of banner

lfHide

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

Availability

This routine is available since 

  1. JJUPIN 2.5
  2. katl-commons 2.5

Syntax

lfHide(field)

Description

Hides the given field.

Parameters

ParameterTypeRequiredDescription
fieldStringYesSpecifies the field to hide.

Example

If the assignee is not admin, hide the issue type field from the issue.

 if(assignee != "admin") {
     lfHide("issueType");
 } 

The image shows on the left side that the issue type is hidden and on the right side that the assignee is set to "test 1".

Now that the field is hidden, you can use lfShow to display it on the issue screen.

Hiding fields and security

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

This feature is only used to put some logic in the screen !

Additional Fields

In addition to the Supported fields and graphic elements accepted by all Live Fields routines, lfHide can also handle:

ElementField (to be used in routine)
Details Paneldetails_panel
People Panelpeople_panel
Dates Paneldates_panel
Timetracking Paneltimetracking_panel
Activity Panelactivity_panel
Comments Tabcomments_tab
History Tabhistory_tab
Worklog Tabworklog_tab
Activity Tabactivity_tab
All Taball_tab
Add CommentaddComment


See Also:


  • No labels