I have a form that has certain sections that are only relevant if the client choses x option. Rather than create many forms, I would like to hide and collapse certain elements on the page unless the dropdown = certain values. I have three different options in the dropdown and selecting each of those options should unhide other elements on the page. How do I do the following:
$w(“#PGFDataset”).onReady( function () {
//get the value
const ProductValue = $w(‘product’);
//if dropdown = x show the following textbox and other elements.
if (ProductValue == ‘ATI’) {
$w(‘#text43’).show();
}
});
});
Thanks