Hi,
Thank you for the reply!
I’ve pasted your code and replaced the elements, but I’m getting errors.
My Element IDs:
Dataset = #dynamicDataset
Text box A that varies = #text29
Text box B that should hide when A is empty = #group1
The code:
$w(“#dynamicDataset”).onReady(() => {
var item = $w(“#dynamicDataset”).getCurrentItem();
if (item[“#text29”] === undefined) $w(“#group1”).hide();
else $w(“#group1”).show() ;
});
The error I get should be attached. Reminder, this is the only code on that dynamic page, which might explain the error.
