Skip to content

Instantly share code, notes, and snippets.

@jechlin-adaptavist
Created April 30, 2021 06:10
Show Gist options
  • Save jechlin-adaptavist/71146bb83d39157f46ac09de4471c1ab to your computer and use it in GitHub Desktop.
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
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