We have 2 fields A, B.
A- cascading select list. (options :a:1, a:2)
B- text field.
If i choose a:1 the field B should be hidden.
We use behaviour plugin for this but it is not working.
def A= getFieldByName("A")
def B= getFieldByName("B")
log.debug("A" + A.getValue())
if (A.getValue() == ["a":"1"])
{
B.setHidden(true);
}
else
{
B.setHidden(false);
}
Please let us know how to achieve it.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.