HI All,
is it possible with a simple Behaviours script to select multi value from a SELECT List custom field ?
I try this :
def HAP = getFieldByName("RadioButton")
def HP2 = getFieldByName("Multiselect LIst")
def optionHAP = HAP.getValue().toString()
if (optionHAP == 'Yes') {
HP2.setFormValue(14018)
HP2.setFormValue(14019)
HP2.setFormValue(14021)
HP2.setFormValue(14022)
HP2.setFormValue(14024)
}
else {
HP2.setFormValue("")
}
When I select Yes on My RadioButton, the only last value from select list is selected.
How I can force to select all values ?
Thanks in advance.
Regards