i only have a problem with cascading choise filed. if you look at my code. i do the same thing for textual fields with no issues. but when i try to make my cascading selection field invisible i cant.
Why is that? what can i do?
const question=getFieldById("customfield_10689");//Is the issue related to specific components or process plans?
const work_number_serial=getFieldById("customfield_10693");//work_order_number
const how_much_time=getFieldById("customfield_10692");//How much time in delays has this issue caused or would have caused?
const options = getFieldById("customfield_10695");
const process_plan = getFieldById("customfield_10687");
const summary=getFieldById("summary");
if(getChangeField().getName() == question.getName()) {
if (question.getValue().value == "Yes"){
work_number_serial.setVisible(true)
how_much_time.setVisible(true)
options.setVisible(true)
}
else if (question.getValue().value == "No") {
summary.setValue("2")
work_number_serial.setVisible(false)
how_much_time.setVisible(false)
options.setVisible(false)
}
else{}
}