buttonGetIcon return value
I have sifted thru posts, but can't find a solution ...
I want to execute a script from a button that will evaluate many image fields to determine if an image is assigned to the field. The purpose is to clear a hidden text field of the original path of the imported icon in each. I have tried:
var isIcon = this.getField("Image17_af_image").value;
which returns "null"
var isIcon = this.getField("Image17_af_image").buttonGetIcon();
which returns [object Icon]
var isIcon = util.iconStreamFromIcon(this.getField("Image17_af_image").buttonGetIcon());
which returns [object Stream]
Is it possible to get a "Yes"/"No" response?
