Hide card view image section if no image set

Hi,

In card view, when no image set, the image section still there but blank.

I do not want to show this useless image section if no image is set, is this possible?

2 Likes

Usually in the show if expression you can use an expression… Something like… I’m on my phone, so you’ll need to fill in the gaps on this expression…

NOT(
AND(
CONTEXT(ViewType)=“Card”,
ISBLANK([_THIS])
)
)

3 Likes

I’m glad that did the trick!

Isn’t this going to remove the entire card? Or maybe I’m just not getting what the “show if” means?

If you only want to hide the image on the cards where there is no value in the image column, how is that done?

Thanks

1 Like

There’s a Show? setting in the column configuration.

In the app editor, go to Data >> Columns, to the table with the image to conditionally hide, to the column that contains the image. Click on the pencil icon at the left end of the column’s row to open the column’s configuration. Find the Show? setting and click on the flask to enable conditional display (also known as Show_If):

See also:

2 Likes

Oh thanks - completely missed that pencil on the column row. It works!

1 Like

how to apply this in desktop view?