I have a behaviours script and following requirement:
If user select values of cascade field as "Peter" (first option) and "New York" (Second option) then I can see the hidden field.
Can someone please help me?
def tid = getFieldByName("Name and Location");
def monthlyMaintenance = getFieldByName("Is this for monthly network maintenance");
monthlyMaintenance.setHidden(true);
if(tid.getValue() == "'Peter','New York'"){
monthlyMaintenance.setHidden(false);
}