I want to display a description for images if either imagedesc or userdesc is available. However, when I use IsSet() like this ( in FileTypes > Images > InfoTip dialog): <b>Desc. :</b> {=IsSet("imagedesc") ? imagedesc : ( IsSet("userdesc ") ? userdesc : "" )=}
If the image does not have an imagedesc I get: Desc: false
I know of two ways to hide sections in the InfoTip:
Use eg. {!imagedesc} ... {!} and the section will only be shown if imagedesc is available.
Or, using evaluators, try something like {!=Val("picwidth")<1000=} ... {!} to hide the section for smaller images. In this case, the result from the evaluator has to be true or false.