Hi
- The code must be within $w.onReady( function () {} (see below full extract from my code)
$w.onReady(function () {
$w("#dataset1").onReady(() => {
var item = $w("#dataset1").getCurrentItem();
if (item["mail"] === undefined) $w("#text18").hide();
else $w("#text18").show() ;
});
});
- Is #text29 content based on a column in the dataset?