elements.cd_id.getLabelForElementNames()
``` on fields for which labels have had the labelFor property set correctly
I am getting an empty Array returned
I am running build 7.4.1 build 2028
Is anyone else seeing this issue
Example
returns [].
Labelfor property is set correctly
[attachment=0]ScrrenShot.png[/attachment]

I recall a while ago we could not access a field in the code through elements.field because at design time the field was on the parent rather than child form. Do you use form inheritance?
Could it be that your are maybe in a table view? At runtime, you don’t have access to label_for labels in table view, because they are no longer there. They are used to format the table header, but don’t actually exist at runtime.