Created
April 30, 2021 06:10
-
-
Save jechlin-adaptavist/71146bb83d39157f46ac09de4471c1ab to your computer and use it in GitHub Desktop.
Show or hide other fields according to selected options in a multi select
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def selectValue = getFieldByName("MultiSelectA").getValue() as List | |
getFieldByName('Another Field').setHidden(!selectValue?.contains("AAA")) | |
getFieldByName('Yet Another Field').setHidden(!selectValue?.contains("BBB")) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment