Dear All,
I would like to determinate if a collection field (through a repeater) is empty or not. If the field is empty the button is collapsed. I realized that with a Text field is working but not with a Rich Text field. Why? Can someone help me. Thank you so much. Best regards. Xav
Text Field is working
$w.onReady( function () {
$w(“#Repeater”).onItemReady(($w, itemData, index) =>{
if (!itemData.textfield) {
$w(“#Button”).collapse();}
});
});
Rich Text is not working
$w.onReady( function () {
$w(“#Repeater”).onItemReady(($w, itemData, index) =>{
if (!itemData.richtextfield) {
$w(“#Button”).collapse();}
});
});