---
title: "lfHideTab"
canonical: "https://support.appfire.com/space/PSJ/15480548/lfHideTab"
format: markdown
---
> Macro (aura-html)


|  |  |  |  |
| --- | --- | --- | --- |
| **Syntax** | lfHideTab(field) | **Package** |  |
| **Alias** |  | **Pkg Usage** |  |

## Description

> Macro (excerpt)
> 
> Hides the specified tab.

Hides the specified tab. This function only handles the field tab and tabs defined by the user. If you want to hide the tabs from the Activity panel, see lfHide function.

## Parameters

| Parameter name | Type | Required | Description |
| --- | --- | --- | --- |
| field | String | Yes | Specifies the tab to hide. |

## Return Type

**None**

## Example

If the assignee is not admin, hide the Field Tab from the issue.

```javascript
if(assignee != "admin") {
     lfHideTab("Field Tab");
 }
```

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

> ⚠️ Hiding fields is not a security solution, the field is present in HTML and can still be inspected via a **Show page source** option. We recommend that you use this function only for the cases when you want to add certain logic on the screen only.

## See also

> Macro (contentbylabel)