Can non-linked text on a dynamic page when a specific field in the database is empty be collapsed? So collapsing 'Biography' in the pic. ty

Yes you simply check if the dataset field is empty and write code that collapses the text box if it is.

Here is a simple example for doing it with a video.
https://support.wix.com/en/article/corvid-tutorial-hiding-a-video-player-when-there-is-no-video-to-play

Here is sample code that I used on a test site for similar.

$w.onReady( () => {
$w("#myDataset").onReady(() => {
});
});

export function someElement_onViewportEnter() {
const item = $w("#myDataset").getCurrentItem();
if (!item.dropdown) {
$w("#text1").collapse();
if (!item.radiobutton) {
$w("#text2").collapse();
}
}
}

Hi GOS,

Thanks for the reply. Just realised I was typing in the title hence the character limit and couldn’t explain myself properly.

So I’ve got a non-linked text field (#144) that I want to collapse if the linked field (#143) is empty. Both are text fields only.

thanks so much in advance