Wondering if anyone can help me toggle these switches together? I’ve tried various combinations but can’t seem to get them to toggle together.
export function switch1_change(event) {
if( $w("#switch1").checked ) {
$w('#switch2').checked === true
$w("#YesPricesText").show();
$w('#noAccommodationText').hide();
}
else {
$w('#switch2').checked === false
individualPrice()
$w("#YesPricesText").hide();
$w('#noAccommodationText').show();
}
}
Thank you!