AnsweredAssumed Answered

JSAPI toggle field visibility in Popup based on field value?

Question asked by inteller on Apr 27, 2015
Latest reply on May 1, 2015 by khutchins-esristaff

I have a dataset with a lot of missing attribution.  As opposed to presenting the user with a popup that shows a bunch of empty values I'd like to toggle the visibility based on whether the particular field has a value.  so for instance for a given fieldname definition:




{fieldname: "DPTH_M", label: "Depth (meters): ", visible: true },


if DPTH_M was empty I would not want to display this in the popup.  Can visibility be toggled true or false based on this requirement?