Hi all,
I want to hide customfield_31613 when the values of the cascading field customfield_32216 are "a" and "b" (parent value and child value) respectively.
I'm using Behaviours for it, my current code:
def listField = getFieldById("customfield_32216")
def hiddenField = getFieldById("customfield_31613")
// get cascading list value (parent and child)
String listString = listField.getValue()
// if cascading list matches one of two selections, hide the Due Date OPS field
if ( listString == ["a", "b"]) {
hiddenField.setHidden(true)
}
It doesn't work. Can you tell me where I did wrong?
Thank you,
Duong