top of page
bottom of page
const currentItem = $w('#ActivityPage').getCurrentItem(); $w.onReady(function () { if (!currentItem.databaseFeildID) { $w("#stylablebutton-label").collapse(); } }); $w.onReady(function () { $w("#ActivityPage").onReady( () => { let item = $w("#ActivityPage").getCurrentItem(); if (stylablebutton-label) { //change to field key $w("stylablebutton-label").show(); } else { $w("stylablebutton-label").collapse(); $w("stylablebutton-label").hide(); }