Check blank in "depends on" condition

I have a field which should be displayed either if status in this doctype has a certain value or the field is non empty.

Now how do I check for non empty field value?

eval:doc.item_group!=“” doesn’t work

try

eval: doc.item_group

2 Likes

try this :

if empty
eval: !doc.item_group

if not empty
eval: doc.item_group