Accordion folds are described on the page Adding Accordion Folds to Layouts. You may use rules to set the initial state of an accordion fold to be open or closed, and you may open or close folds using rules to determine the state of the fold..
FOLD_PRE_A
, FOLD_POST_A
, FOLD_PRE_B
and FOLD_POST_B
all exist <== load ==>
FOLD_PRE_A = {open};
<== onchange ==>
if (FOLD_PRE_B.{changed to:{open}}) {
FOLD_PRE_A = {closed};
}
<== onchange ==>
if (FOLD_PRE_B.{changed}) {
FOLD_PRE_A = {open};
}
if
statement, and we both open and close other folds when we open Fold B. This example also presumes the existence of FOLD_PRE_C and FOLD_POST_C
<== onchange ==>
if (FOLD_PRE_B.{changed to:{open}} && STATUS = 'Fixed') {
FOLD_PRE_A = {closed};
FOLD_PRE_C = {open};
}
<== onchange ==>
if (STATUS.{changed}) {
FOLD_PRE_A = {open};
FOLD_PRE_B = {open};
FOLD_PRE_C = {closed};
}