I would like to know how I can hide an item on a users profile page if this has not been filed on in the database.
However, when the user has filled this out in the edit profile area the information will then show.
I would like to know how I can hide an item on a users profile page if this has not been filed on in the database.
However, when the user has filled this out in the edit profile area the information will then show.
Hi Simon,
This requires some coding.
You can achieve that by hiding the element when its text value is empty:
$w.onReady(function () {
if ($w('#elementToHide').text === '') {
$w('#elementToHide').hide;
}
});