Hi,
I’m not very familiar with codes but I’ll definitely try my best
I have a switch and when it is “on” I want to have and keep a group visible. Now I manage to make the group visible, but when the formula is saved and I look in the dynamic page I see that the switch is “on” but I don’t see the group open… This is the code that I use
Code:
export function switch3_click ( event ) {
if ( $w ( ‘#switch3’ ). checked ) {
$w ( ‘#group2’ ). expand ();
} else {
$w ( ‘#group2’ ). collapse ();
}
}