Button handy |
---|
blank | true |
---|
color | #0052CC |
---|
name | Send Feedback |
---|
link | https://docs.google.com/forms/d/e/1FAIpQLScmToBe3vynAlb5fdKwCGxYqnTbDc66sIBgeecG2BuFDuHc7g/viewform?entry.2002826954=lfEnable+-+15488517 |
---|
width | auto |
---|
|
Table plus |
---|
applyColStyleToCell | true |
---|
heading | 0 |
---|
columnTypes | s,s,s,s |
---|
multiple | false |
---|
columnAttributes | style="background:#e5e7ea;font-weight:bold,,style="background:#e5e7ea;font-weight:bold, |
---|
enableSorting | false |
---|
|
Syntax | lfEnable(field) | Package | | Alias | | Pkg Usage | | |
...
If you want to enable a field to the Admin user (and keep it disabled for all other users), use the lfEnable routine function.
Code Block |
---|
|
if(assignee == "admin") {
lfEnable("issueType");
} |
To disable the field, use the lfDisable routinefunction.
Example 2 - Advanced Example
...
For more information about the other routines functions used in this example, see lfDisable and lfWatch.
...